Commit a8b6334ca6ad2983c61aa2d45560caa8d826a8f9

Authored by Antonio Terceiro
1 parent 5ee111d4
Exists in master and in 1 other branch gitlab-8.x

update Makefile

Showing 1 changed file with 16 additions and 2 deletions   Show diff stats
Makefile
1 1 WGET = wget
2 2 GITLAB_BRANCH = 7-5-stable
  3 +BUNDLE_OPTS = --verbose --without='development test'
3 4  
4 5 all:
5   - bundle install --verbose --path vendor/bundle
  6 + bundle install $(BUNDLE_OPTS) --local --deployment
6 7  
7   -update:
  8 +install: all
  9 + mkdir -p $(DESTDIR)$(PREFIX)/lib/gitlab/vendor
  10 + $(RM) -r $(DESTDIR)$(PREFIX)/lib/gitlab/vendor/bundle
  11 + cp -r vendor/bundle $(DESTDIR)$(PREFIX)/lib/gitlab/vendor/bundle
  12 +
  13 +update: clean bundle
  14 +
  15 +bundle:
  16 + bundle install $(BUNDLE_OPTS) --path vendor/bundle
  17 +
  18 +update-gemfiles:
8 19 $(WGET) -O Gemfile https://gitlab.com/gitlab-org/gitlab-ce/raw/$(GITLAB_BRANCH)/Gemfile
9 20 $(WGET) -O Gemfile.lock https://gitlab.com/gitlab-org/gitlab-ce/raw/$(GITLAB_BRANCH)/Gemfile.lock
10 21 git add Gemfile*
11 22 git commit Gemfile* -m 'update Gemfile*'
  23 +
  24 +clean:
  25 + $(RM) -r .bundle/ vendor/bundle/
... ...