File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 1+ VERSION = 1.1.0
2+ GITBUCKET_VERSION = 4.26.0
3+
14.PHONY : help # List of targets with descriptions
25help :
36 @grep ' ^\.PHONY: .* #' Makefile | sed ' s/\.PHONY: \(.*\) # \(.*\)/\1\t\2/' | expand -t20
@@ -12,3 +15,14 @@ build:
1215
1316.PHONY : travis # Build on travis
1417travis : build
18+
19+ target/gitbucket-${GITBUCKET_VERSION}.war :
20+ mkdir -p target
21+ wget https://github.com/gitbucket/gitbucket/releases/download/${GITBUCKET_VERSION} /gitbucket.war -O target/gitbucket-${GITBUCKET_VERSION} .war
22+
23+ .PHONY : localServer # Start a local gitbucket server with the plugin installed
24+ localServer : build target/gitbucket-${GITBUCKET_VERSION}.war
25+ mkdir -p target/DATA/plugins
26+ rm -rf target/DATA/plugins/*
27+ cp target/scala-2.12/gitbucket-asciidoctor-plugin-gitbucket_${GITBUCKET_VERSION} -${VERSION} .jar target/DATA/plugins
28+ java -jar target/gitbucket-${GITBUCKET_VERSION} .war --gitbucket.home=target/DATA
You can’t perform that action at this time.
0 commit comments