diff --git a/Makefile b/Makefile index bc94685..e6ae3e4 100644 --- a/Makefile +++ b/Makefile @@ -18,16 +18,10 @@ install: all cp -r .bundle $(DESTDIR)$(PREFIX)/lib/gitlab/.bundle cp -r vendor/bundle $(DESTDIR)$(PREFIX)/lib/gitlab/vendor/bundle -update: clean bundle - -bundle: - bundle install $(BUNDLE_OPTS) --path vendor/bundle - -update-gemfiles: +update: clean $(WGET) -O Gemfile https://gitlab.com/gitlab-org/gitlab-ce/raw/$(GITLAB_BRANCH)/Gemfile - $(WGET) -O Gemfile.lock https://gitlab.com/gitlab-org/gitlab-ce/raw/$(GITLAB_BRANCH)/Gemfile.lock - git add Gemfile* - git commit Gemfile* -m 'update Gemfile*' + $(RM) Gemfile.lock + bundle install $(BUNDLE_OPTS) --path vendor/bundle clean: $(RM) -r .bundle/ vendor/bundle/ $(TARBALL) -- libgit2 0.21.2