pkg(japt-2.0.0): add japt

This commit is contained in:
Hydrazer 2021-10-02 16:50:37 -06:00 committed by Brikaa
parent 4f5ef06adf
commit 1c48ca2ab5
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`,