File tree 5 files changed +20
-5
lines changed
5 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
cd /var/www/soisy/backend
4
- php app/console soisy:load:fixtures --no-interaction --delete-contracts ../docs/features/ fixtures/ $1
4
+ php app/console soisy:load:fixtures --no-interaction --delete-contracts ../docs/fixtures/build $1
Original file line number Diff line number Diff line change 1
- #! /bin/sh
1
+ #! /bin/bash
2
2
3
3
cd /var/www/soisy/webapp/scripts/
4
- ./node_modules/protractor/bin/protractor protractor-conf.js --specs /var/www/soisy/webapp/spec/$1
4
+
5
+ if [[ $1 == * SpecShop.js ]]; then
6
+ ./node_modules/protractor/bin/protractor protractor-conf-shop.js --specs /var/www/soisy/docs/specs/$1
7
+ else
8
+ ./node_modules/protractor/bin/protractor protractor-conf.js --specs /var/www/soisy/docs/specs/$1
9
+ fi
Original file line number Diff line number Diff line change 1
1
#compdef loadfixture
2
2
3
- _files -W /var/www/soisy/docs/features/ fixtures/
3
+ _files -W /var/www/soisy/docs/fixtures/build /
Original file line number Diff line number Diff line change 1
1
#compdef protractor
2
2
3
- _files -W /var/www/soisy/webapp/spec /
3
+ _files -W /var/www/soisy/docs/specs /
Original file line number Diff line number Diff line change @@ -88,3 +88,13 @@ source $ZSH/oh-my-zsh.sh
88
88
89
89
PROMPT=' %{%f%b%k%}$(build_prompt)
90
90
%# '
91
+
92
+ # The next line updates PATH for the Google Cloud SDK.
93
+ if [ -f /home/vagrant/google-cloud-sdk/path.zsh.inc ]; then
94
+ source ' /home/vagrant/google-cloud-sdk/path.zsh.inc'
95
+ fi
96
+
97
+ # The next line enables shell command completion for gcloud.
98
+ if [ -f /home/vagrant/google-cloud-sdk/completion.zsh.inc ]; then
99
+ source ' /home/vagrant/google-cloud-sdk/completion.zsh.inc'
100
+ fi
You can’t perform that action at this time.
0 commit comments