Merge pull request #351 from Hydrazer/master

add japt
This commit is contained in:
Thomas Hobson 2021-10-03 16:16:12 +13:00 committed by GitHub
commit 6a8dc48233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 22 additions and 0 deletions

6
packages/japt/2.0.0/build.sh vendored Normal file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
# japt install
source ../../node/16.3.0/build.sh
git clone -q "https://github.com/Hydrazer/japt.git" japt

5
packages/japt/2.0.0/environment vendored Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
# node and japt path
export PATH=$PWD/bin:$PATH
export JAPT_PATH=$PWD/japt

5
packages/japt/2.0.0/metadata.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"language": "japt",
"version": "2.0.0",
"aliases": ["japt"]
}

4
packages/japt/2.0.0/run vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# japt only takes filename and stdin
node "$JAPT_PATH"/node.js "$1"

1
packages/japt/2.0.0/test.japt vendored Normal file
View File

@ -0,0 +1 @@
"OK

View File

@ -346,6 +346,7 @@ Content-Type: application/json
`groovy`,
`haskell`,
`iverilog`,
`japt`,
`java`,
`javascript`,
`jelly`,