File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 11VERSION = 1.1.0
22GITBUCKET_VERSION = 4.32.0
3+ SCALA_BIN_VERSION =2.13
34
45.PHONY : help # List of targets with descriptions
56help :
@@ -13,16 +14,21 @@ clean:
1314build :
1415 sbt assembly
1516
17+ target/gitbucket-$(GITBUCKET_VERSION ) -asciidoctor-plugin-$(VERSION ) .jar : build
18+ cp target/scala-$(SCALA_BIN_VERSION ) /gitbucket-asciidoctor-plugin-$(VERSION ) .jar target/gitbucket-$(GITBUCKET_VERSION ) -asciidoctor-plugin-$(VERSION ) .jar
19+
20+ stamped-jar : target/gitbucket-$(GITBUCKET_VERSION ) -asciidoctor-plugin-$(VERSION ) .jar
21+
1622.PHONY : travis # Build on travis
1723travis : build
1824
1925target/gitbucket-${GITBUCKET_VERSION}.war :
2026 mkdir -p target
21- wget https://github.com/gitbucket/gitbucket/releases/download/${ GITBUCKET_VERSION} /gitbucket.war -O target/gitbucket-${ GITBUCKET_VERSION} .war
27+ wget https://github.com/gitbucket/gitbucket/releases/download/$( GITBUCKET_VERSION ) /gitbucket.war -O target/gitbucket-$( GITBUCKET_VERSION ) .war
2228
2329.PHONY : localServer # Start a local gitbucket server with the plugin installed
24- localServer : build target/gitbucket-${ GITBUCKET_VERSION} .war
30+ localServer : stamped-jar target/gitbucket-$( GITBUCKET_VERSION ) .war
2531 mkdir -p target/DATA/plugins
2632 rm -rf target/DATA/plugins/*
27- cp target/scala-2.13/ gitbucket-asciidoctor-plugin-gitbucket_ ${GITBUCKET_VERSION} - ${ VERSION} .jar target/DATA/plugins
28- java -jar target/gitbucket-${ GITBUCKET_VERSION} .war --gitbucket.home=target/DATA
33+ cp target/gitbucket-$( GITBUCKET_VERSION ) - asciidoctor-plugin-$( VERSION ) .jar target/DATA/plugins
34+ java -jar target/gitbucket-$( GITBUCKET_VERSION ) .war --gitbucket.home=target/DATA
Original file line number Diff line number Diff line change 11= gitbucket-asciidoctor-plugin
2- :plugin-version: 1.1.1
2+ :plugin-version: 1.1.0
33:scala-version: 2.13
44:gitbucket-bincompat-version: 4.32.0
55
You can’t perform that action at this time.
0 commit comments