1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-26 12:49:21 +00:00

JAR file version number should now follow git tag.

This commit is contained in:
jespergravgaard 2018-10-02 01:06:36 +02:00
parent b810023859
commit 00e6293e20
5 changed files with 13 additions and 7 deletions

View File

@ -6,10 +6,11 @@ release:
- "mvn package"
- "ls target"
- "unzip -d target/release target/kickc-release.zip"
- "mv target/release/kickc/lib/kickc-release.jar target/release/kickc/lib/kickc-${CI_COMMIT_REF_NAME}.jar"
- "mv target/release/kickc/* ."
- "cat target/site/jacoco/index.html"
artifacts:
name: kickc_${CI_BUILD_REF_NAME}
name: kickc_${CI_COMMIT_REF_NAME}
paths:
- ./bin
- ./lib

View File

@ -20,7 +20,7 @@
<groupId>dk.camelot64.kickc</groupId>
<artifactId>kickc</artifactId>
<version>0.5-SNAPSHOT</version>
<version>release</version>
<dependencies>
<dependency>

View File

@ -22,7 +22,7 @@ import java.util.concurrent.Callable;
descriptionHeading = "%nDescription:%n%n",
parameterListHeading = "%nParameters:%n",
optionListHeading = "%nOptions:%n",
version = "KickC 0.5 SNAPSHOT"
version = "KickC 0.5"
)
public class KickC implements Callable<Void> {

View File

@ -8,6 +8,9 @@ set KICKCLIB_HOME=%KICKC_HOME%\stdlib
echo KICKCLIB_HOME=%KICKCLIB_HOME%
REM KICKASSEMBLER HOME
REM VICE HOME
REM KICKC_JAR
set KICKC_JAR=%KICKC_HOME%\lib\kickc-*.jar
echo KICKC_JAR=%KICKC_JAR%
echo java -jar %KICKC_HOME%\lib\kickc-0.5-SNAPSHOT.jar -I %KICKCLIB_HOME% %*
java -jar %KICKC_HOME%\lib\kickc-0.5-SNAPSHOT.jar -I %KICKCLIB_HOME% %*
echo java -jar %KICKC_JAR% -I %KICKCLIB_HOME% %*
java -jar %KICKC_JAR% -I %KICKCLIB_HOME% %*

View File

@ -7,6 +7,8 @@ export KICKC_HOME="$(dirname $0)/.."
export KICKCLIB_HOME="$KICKC_HOME/stdlib"
# KICKASSEMBLER HOME
# VICE HOME
# KICKC_JAR
export KICKC_JAR=$KICKC_HOME/lib/kickc-*.jar
echo java -jar lib/kickc-0.5-SNAPSHOT.jar -I $KICKCLIB_HOME $*
java -jar lib/kickc-0.5-SNAPSHOT.jar -I $KICKCLIB_HOME $*
echo java -jar $KICKC_JAR -I $KICKCLIB_HOME $*
java -jar $KICKC_JAR -I $KICKCLIB_HOME $*