-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/issue#9' into develop
- Loading branch information
Showing
27 changed files
with
931 additions
and
2,046 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
node_modules/ | ||
.apt_generated/ | ||
.apt_generated_tests/ | ||
.cache/ | ||
.cache/ | ||
ts/j2ts/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
## HOW RUN SAMPLE | ||
|
||
### install javascript packages | ||
|
||
> npm install | ||
### Run using: "[GraalJs](https://github.com/graalvm/graaljs)" | ||
|
||
**Generate TypeScript stuff** | ||
|
||
> mvn -f graaljs-pom.xml clean package | ||
This task will generate `jdk8.d.ts` and `jdk8-types.ts` into folder `ts/j2ts` | ||
|
||
**Compile typescript** | ||
|
||
> npm run build:main | ||
This task use [parcel](https://parceljs.org/) to bundle all modules in a single javascript file in `target/js/main.js` | ||
|
||
**Run sample** | ||
|
||
> mvn -f graaljs-pom.xml exec:exec | ||
### Run using: "[Nashorn](http://www.oracle.com/technetwork/articles/java/jf14-nashorn-2126515.html)" | ||
|
||
**Generate TypeScript stuff** | ||
|
||
> mvn clean package | ||
This task will generate `jdk8.d.ts` and `jdk8-types.ts` into folder `ts/j2ts` | ||
|
||
**Compile typescript** | ||
|
||
> npm run build:main | ||
This task use [parcel](https://parceljs.org/) to bundle all modules in a single javascript file in `target/js/main.js` | ||
|
||
**Run sample** | ||
|
||
> mvn exec:exec@jsrun | ||
|
||
### Run using: "[Rhino](https://github.com/mozilla/rhino)" | ||
|
||
**Generate TypeScript stuff** | ||
|
||
> mvn -P rhino clean package | ||
This task will generate `jdk8.d.ts` and `jdk8-types.ts` into folder `ts/j2ts` | ||
|
||
**Compile typescript** | ||
|
||
> npm run build:main | ||
This task use [parcel](https://parceljs.org/) to bundle all modules in a single javascript file in `target/js/main.js` | ||
|
||
**Run sample** | ||
|
||
> mvn exec:exec |
Oops, something went wrong.