Merge branch 'ripgrep' into 'master'

Try to install ripgrep

See merge request !47
This commit is contained in:
Lin Jen-Shin (godfat) 2017-07-28 05:45:15 +00:00
commit f5fa95c91c
2 changed files with 9 additions and 0 deletions

View file

@ -6,6 +6,7 @@ RUN /scripts/install-phantomjs 2.1.1
RUN /scripts/install-node
RUN /scripts/install-golang
RUN /scripts/install-postgresql
RUN /scripts/install-ripgrep
ENV PATH /usr/local/go/bin:$PATH

8
scripts/install-ripgrep Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
# Use `apt-get install cargo` whenever available
curl https://sh.rustup.rs -sSf | sh /dev/stdin -y
~/.cargo/bin/cargo install ripgrep --root /usr/local
apt-get install silversearcher-ag