Skip to content

Commit

Permalink
Testing J-package.
Browse files Browse the repository at this point in the history
  • Loading branch information
Moderocky committed Feb 7, 2022
1 parent 1d9a559 commit d29e6bb
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 11 deletions.
20 changes: 19 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.byteskript</groupId>
<artifactId>byteskript</artifactId>
<version>1.0.17</version>
<version>1.0.18</version>
<name>ByteSkript</name>
<description>A compiled JVM implementation of the Skript language.</description>

Expand Down Expand Up @@ -47,6 +47,19 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.panteleyev</groupId>
<artifactId>jpackage-maven-plugin</artifactId>
<configuration>
<name>ByteSkript</name>
<appVersion>${project.version}</appVersion>
<vendor>byteskript.org</vendor>
<mainClass>org.byteskript.skript.app.ScriptLoader</mainClass>
<mainJar>ByteSkript.jar</mainJar>
<input>target/jar</input>
<destination>target/dist</destination>
</configuration>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -113,6 +126,11 @@
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.panteleyev</groupId>
<artifactId>jpackage-maven-plugin</artifactId>
<version>1.5.1</version>
</dependency>
</dependencies>

</project>
4 changes: 4 additions & 0 deletions src/main/java/org/byteskript/skript/compiler/Context.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ public void setStoredVariableName(String storedVariableName) {

public abstract SyntaxElement currentEffect();

/**
* Force an unspecified variable into the register.
* Used to store internal details without upsetting index-order.
*/
public abstract PreVariable forceUnspecVariable(PreVariable variable);

public abstract PreVariable getVariable(String name);
Expand Down
10 changes: 0 additions & 10 deletions src/main/java/org/byteskript/skript/compiler/structure/Memory.java

This file was deleted.

0 comments on commit d29e6bb

Please sign in to comment.