mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-26 06:56:28 +02:00
added japt
This commit is contained in:
parent
aa252e509b
commit
4991ea3079
5 changed files with 18 additions and 0 deletions
3
packages/japt/build.sh
Normal file
3
packages/japt/build.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
source ../../node/16.3.0/build.sh
|
||||
|
||||
git clone -q "https://github.com/Hydrazer/japt.git" jap
|
5
packages/japt/environment
Normal file
5
packages/japt/environment
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# node and japt path
|
||||
export PATH=$PWD/bin:$PATH
|
||||
export JAPT_PATH=$PWD/pyth
|
5
packages/japt/metadata.json
Normal file
5
packages/japt/metadata.json
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "japt",
|
||||
"version": "2.0.0",
|
||||
"aliases": ["japt"]
|
||||
}
|
4
packages/japt/run
Normal file
4
packages/japt/run
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/test.japt
Normal file
1
packages/japt/test.japt
Normal file
|
@ -0,0 +1 @@
|
|||
"OK
|
Loading…
Add table
Add a link
Reference in a new issue