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

Fixed BAT runner

This commit is contained in:
Jesper Gravgaard 2018-10-02 01:53:39 +02:00
commit 0f813d9d0f
5 changed files with 9 additions and 5 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

@ -38,6 +38,7 @@
<outputDirectory>bin</outputDirectory>
<includes>
<include>*.sh</include>
<include>*.bat</include>
</includes>
</fileSet>
<fileSet>

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

@ -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 $*