Fix path error on initial run (#313)

Fixes #312 

This isn't idiomatic but it'll do for the time being
This commit is contained in:
Denis Isidoro 2020-03-24 11:42:18 -03:00 committed by GitHub
parent 6ed7cd12b5
commit 65154663db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 19 deletions

View file

@ -5,7 +5,11 @@ export NAVI_HOME="$(cd "$(dirname "$0")/.." && pwd)"
cd "$NAVI_HOME"
./scripts/action release x86_64-unknown-linux-musl
docker run \
-e HOMEBREW_NO_AUTO_UPDATE=1 \
-it linuxbrew/alpine \
bash -c 'brew install denisidoro/tools/navirs; bash'
-e HOMEBREW_NO_INSTALL_CLEANUP=1 \
-v "$(pwd):/navi" \
-it 'bashell/alpine-bash' \
bash -c 'apk add git; apk add curl; git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf && yes | ln -s /navi/target/debug/navi /usr/local/bin/navi; source $HOME/.bashrc; bash'