Skip to content

Commit

Permalink
feat: add installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane committed Mar 21, 2018
1 parent a108d08 commit 5468162
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ before_deploy:
- cp ./yarn-deps/target/release/yarn-deps dist/
- cp ./yarn-scripts/target/release/yarn-scripts dist/
- cp ./yarn-autocompletions.plugin.zsh dist/
- cp ./install.sh dist/
- cp ./README.md dist/
- cp ./LICENSE dist/
- cd dist
Expand Down
8 changes: 8 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
if [ ! -d $1/plugins/yarn-autocompletions ]
then
mkdir $1/plugins/yarn-autocompletions
fi

cp ./yarn-autocompletions.plugin.zsh $1/plugins/yarn-autocompletions
cp ./yarn-deps $1/plugins/yarn-autocompletions
cp ./yarn-scripts $1/plugins/yarn-autocompletions

0 comments on commit 5468162

Please sign in to comment.