File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ CI_REPOSITORY ?= https://github.com/src-d/ci.git
77CI_PATH ?= $(shell pwd) /.ci
88CI_VERSION ?= v1
99
10+ UPGRADE_PRJ ?= "gopkg.in/src-d/go-mysql-server.v0"
11+ UPGRADE_REV ?= $(shell curl --silent "https://api.github.com/repos/src-d/go-mysql-server/commits/master" -H'Accept: application/vnd.github.VERSION.sha')
12+
1013MAKEFILE := $(CI_PATH ) /Makefile.main
1114$(MAKEFILE ) :
1215 git clone --quiet --branch $(CI_VERSION ) --depth 1 $(CI_REPOSITORY ) $(CI_PATH ) ;
@@ -17,4 +20,7 @@ $(MAKEFILE):
1720bblfsh-client :
1821 cd vendor/gopkg.in/bblfsh/client-go.v2 && make dependencies
1922
20- dependencies : bblfsh-client
23+ dependencies : bblfsh-client
24+
25+ upgrade :
26+ go run tools/rev-upgrade/main.go -p $(UPGRADE_PRJ ) -r $(UPGRADE_REV )
You can’t perform that action at this time.
0 commit comments