easy update/install
This commit is contained in:
parent
4fe65eb4bc
commit
a136247fea
2 changed files with 2 additions and 5 deletions
|
@ -14,9 +14,6 @@ env = if envs.include?(ARGV[0])
|
|||
|
||||
puts green " == Install for ENV=#{env} ..."
|
||||
|
||||
# pull from github
|
||||
`git pull origin 1x`
|
||||
|
||||
# bundle install
|
||||
if env == "production"
|
||||
`bundle install --without development test`
|
||||
|
|
|
@ -12,10 +12,10 @@ env = if envs.include?(ARGV[0])
|
|||
"production"
|
||||
end
|
||||
|
||||
puts green " == Update for ENV=#{env} from 1x"
|
||||
puts green " == Update for ENV=#{env}"
|
||||
|
||||
# pull from github
|
||||
`git pull origin 1x`
|
||||
`git pull`
|
||||
|
||||
# bundle install
|
||||
if env == "production"
|
||||
|
|
Loading…
Add table
Reference in a new issue