File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
VERSION = 1.1.0
2
2
GITBUCKET_VERSION = 4.32.0
3
+ SCALA_BIN_VERSION =2.13
3
4
4
5
.PHONY : help # List of targets with descriptions
5
6
help :
@@ -13,16 +14,21 @@ clean:
13
14
build :
14
15
sbt assembly
15
16
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
+
16
22
.PHONY : travis # Build on travis
17
23
travis : build
18
24
19
25
target/gitbucket-${GITBUCKET_VERSION}.war :
20
26
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
22
28
23
29
.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
25
31
mkdir -p target/DATA/plugins
26
32
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 1
1
= gitbucket-asciidoctor-plugin
2
- :plugin-version: 1.1.1
2
+ :plugin-version: 1.1.0
3
3
:scala-version: 2.13
4
4
:gitbucket-bincompat-version: 4.32.0
5
5
You can’t perform that action at this time.
0 commit comments