mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-25 14:36:28 +02:00
added japt to japt2
This commit is contained in:
parent
7d90cddf27
commit
9f38e36aa0
6 changed files with 22 additions and 0 deletions
6
packages/japt/2.0.0/build.sh
vendored
Normal file
6
packages/japt/2.0.0/build.sh
vendored
Normal 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
5
packages/japt/2.0.0/environment
vendored
Normal 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
5
packages/japt/2.0.0/metadata.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "japt",
|
||||||
|
"version": "2.0.0",
|
||||||
|
"aliases": ["japt"]
|
||||||
|
}
|
4
packages/japt/2.0.0/run
vendored
Normal file
4
packages/japt/2.0.0/run
vendored
Normal 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
1
packages/japt/2.0.0/test.japt
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
"OK
|
|
@ -344,6 +344,7 @@ Content-Type: application/json
|
||||||
`groovy`,
|
`groovy`,
|
||||||
`haskell`,
|
`haskell`,
|
||||||
`iverilog`,
|
`iverilog`,
|
||||||
|
`japt`,
|
||||||
`java`,
|
`java`,
|
||||||
`javascript`,
|
`javascript`,
|
||||||
`jelly`,
|
`jelly`,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue