cincheo / jsweet

A Java to JavaScript transpiler.
http://www.jsweet.org
Other
1.46k stars 159 forks source link

Build everything from parent POM; unbreak github Action build #769

Closed kohlschuetter closed 1 year ago

kohlschuetter commented 1 year ago

Build everything with a simple mvn clean install from the repository main directory.

Pull request #762 broke the build because the core-lib version was not updated, and the newly introduced @TsNoCheck annotation is obviously missing from the old artifact.

Prevent future failures like this by ensuring everything gets build properly.

Code changes were necessary to both transpiler main and test because the code expected to be in the transpiler subdirectory.

Moreover, some temporary directories were created (.jsweet and subdirectories), which ended up in different places depending on where mvn test was invoked. Move these to java.io.tmpDir, and make sure they get deleted when no longer used.

Finally, we add file-visitor and jsweet's custom typescript.java-ts.core to this repo, since they are required to build and are not available in Maven central.