From 7fbf2f014ce27a1194dcb8bf53ff51d6517a5a98 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Fri, 16 Sep 2016 18:22:35 -0400 Subject: [PATCH] Reorganize some files. --- Makefile | 14 -------------- benches/README.md | 5 +++++ benchsuite => benchsuite/benchsuite | 0 .../benchsuite.raw.csv | 0 .../benchsuite.summary | 0 ctags.rust | 11 ----------- session.vim | 1 - 7 files changed, 5 insertions(+), 26 deletions(-) delete mode 100644 Makefile create mode 100644 benches/README.md rename benchsuite => benchsuite/benchsuite (100%) rename benchsuite.raw.csv => benchsuite/benchsuite.raw.csv (100%) rename benchsuite.summary => benchsuite/benchsuite.summary (100%) delete mode 100644 ctags.rust delete mode 100644 session.vim diff --git a/Makefile b/Makefile deleted file mode 100644 index 290ac68a..00000000 --- a/Makefile +++ /dev/null @@ -1,14 +0,0 @@ -all: - echo Nothing to do... - -ctags: - ctags --options=ctags.rust --languages=Rust src/*.rs src/*/*.rs - -docs: - cargo doc - in-dir ./target/doc fix-perms - rscp ./target/doc/* gopher:~/www/burntsushi.net/rustdoc/ - -push: - git push origin master - git push github master diff --git a/benches/README.md b/benches/README.md new file mode 100644 index 00000000..18cf9131 --- /dev/null +++ b/benches/README.md @@ -0,0 +1,5 @@ +These are internal microbenchmarks for tracking the peformance of individual +components inside of ripgrep. At the moment, they aren't heavily used. + +For performance benchmarks of ripgrep proper, see the sibling `benchsuite` +directory. diff --git a/benchsuite b/benchsuite/benchsuite similarity index 100% rename from benchsuite rename to benchsuite/benchsuite diff --git a/benchsuite.raw.csv b/benchsuite/benchsuite.raw.csv similarity index 100% rename from benchsuite.raw.csv rename to benchsuite/benchsuite.raw.csv diff --git a/benchsuite.summary b/benchsuite/benchsuite.summary similarity index 100% rename from benchsuite.summary rename to benchsuite/benchsuite.summary diff --git a/ctags.rust b/ctags.rust deleted file mode 100644 index b42edf75..00000000 --- a/ctags.rust +++ /dev/null @@ -1,11 +0,0 @@ ---langdef=Rust ---langmap=Rust:.rs ---regex-Rust=/^[ \t]*(#\[[^\]]\][ \t]*)*(pub[ \t]+)?(extern[ \t]+)?("[^"]+"[ \t]+)?(unsafe[ \t]+)?fn[ \t]+([a-zA-Z0-9_]+)/\6/f,functions,function definitions/ ---regex-Rust=/^[ \t]*(pub[ \t]+)?type[ \t]+([a-zA-Z0-9_]+)/\2/T,types,type definitions/ ---regex-Rust=/^[ \t]*(pub[ \t]+)?enum[ \t]+([a-zA-Z0-9_]+)/\2/g,enum,enumeration names/ ---regex-Rust=/^[ \t]*(pub[ \t]+)?struct[ \t]+([a-zA-Z0-9_]+)/\2/s,structure names/ ---regex-Rust=/^[ \t]*(pub[ \t]+)?mod[ \t]+([a-zA-Z0-9_]+)/\2/m,modules,module names/ ---regex-Rust=/^[ \t]*(pub[ \t]+)?static[ \t]+([a-zA-Z0-9_]+)/\2/c,consts,static constants/ ---regex-Rust=/^[ \t]*(pub[ \t]+)?trait[ \t]+([a-zA-Z0-9_]+)/\2/t,traits,traits/ ---regex-Rust=/^[ \t]*(pub[ \t]+)?impl([ \t\n]+<.*>)?[ \t]+([a-zA-Z0-9_]+)/\3/i,impls,trait implementations/ ---regex-Rust=/^[ \t]*macro_rules![ \t]+([a-zA-Z0-9_]+)/\1/d,macros,macro definitions/ diff --git a/session.vim b/session.vim deleted file mode 100644 index 213c9566..00000000 --- a/session.vim +++ /dev/null @@ -1 +0,0 @@ -au BufWritePost *.rs silent!make ctags > /dev/null 2>&1