Skip to content

Commit d29e6bb

Browse files
committed
Testing J-package.
1 parent 1d9a559 commit d29e6bb

File tree

3 files changed

+23
-11
lines changed

3 files changed

+23
-11
lines changed

pom.xml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.byteskript</groupId>
88
<artifactId>byteskript</artifactId>
9-
<version>1.0.17</version>
9+
<version>1.0.18</version>
1010
<name>ByteSkript</name>
1111
<description>A compiled JVM implementation of the Skript language.</description>
1212

@@ -47,6 +47,19 @@
4747
</execution>
4848
</executions>
4949
</plugin>
50+
<plugin>
51+
<groupId>org.panteleyev</groupId>
52+
<artifactId>jpackage-maven-plugin</artifactId>
53+
<configuration>
54+
<name>ByteSkript</name>
55+
<appVersion>${project.version}</appVersion>
56+
<vendor>byteskript.org</vendor>
57+
<mainClass>org.byteskript.skript.app.ScriptLoader</mainClass>
58+
<mainJar>ByteSkript.jar</mainJar>
59+
<input>target/jar</input>
60+
<destination>target/dist</destination>
61+
</configuration>
62+
</plugin>
5063
</plugins>
5164
</build>
5265

@@ -113,6 +126,11 @@
113126
<version>4.13.2</version>
114127
<scope>test</scope>
115128
</dependency>
129+
<dependency>
130+
<groupId>org.panteleyev</groupId>
131+
<artifactId>jpackage-maven-plugin</artifactId>
132+
<version>1.5.1</version>
133+
</dependency>
116134
</dependencies>
117135

118136
</project>

src/main/java/org/byteskript/skript/compiler/Context.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ public void setStoredVariableName(String storedVariableName) {
7777

7878
public abstract SyntaxElement currentEffect();
7979

80+
/**
81+
* Force an unspecified variable into the register.
82+
* Used to store internal details without upsetting index-order.
83+
*/
8084
public abstract PreVariable forceUnspecVariable(PreVariable variable);
8185

8286
public abstract PreVariable getVariable(String name);

src/main/java/org/byteskript/skript/compiler/structure/Memory.java

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)