Go another way
This commit is contained in:
parent
2c11df2304
commit
8f74c6f8e3
4 changed files with 10 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,2 @@
|
|||
/.bundle
|
||||
/bin
|
||||
/spec/fixtures/.librarian
|
||||
|
|
|
@ -5,7 +5,12 @@ set -e
|
|||
|
||||
cd $(dirname "$0")/..
|
||||
|
||||
rm -rf .bundle/config
|
||||
bundle install --binstubs bin --path .bundle --quiet
|
||||
BIN=.bundle/binstubs
|
||||
CARDBOARD=$BIN/cardboard
|
||||
SCRIPT=$(basename "$0")
|
||||
|
||||
exec bin/cardboard bootstrap "$@"
|
||||
rm -rf .bundle/{binstubs,config}
|
||||
|
||||
|
||||
bundle install --binstubs "$BIN" --path .bundle --quiet && "$CARDBOARD" bootstrap
|
||||
[ "$SCRIPT" = "bootstrap" ] || exec $CARDBOARD "$SCRIPT" "$@"
|
||||
|
|
1
script/lint
Symbolic link
1
script/lint
Symbolic link
|
@ -0,0 +1 @@
|
|||
bootstrap
|
1
script/syntax
Symbolic link
1
script/syntax
Symbolic link
|
@ -0,0 +1 @@
|
|||
bootstrap
|
Loading…
Reference in a new issue