WGET = wget GITLAB_BRANCH = 7-5-stable all: bundle install --path vendor/bundle update: $(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*'