pkg(japt-2.0.0): add japt
This commit is contained in:
parent
89a6f81123
commit
1c675b5f8f
|
@ -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
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# node and japt path
|
||||
export PATH=$PWD/bin:$PATH
|
||||
export JAPT_PATH=$PWD/japt
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "japt",
|
||||
"version": "2.0.0",
|
||||
"aliases": ["japt"]
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# japt only takes filename and stdin
|
||||
node "$JAPT_PATH"/node.js "$1"
|
|
@ -0,0 +1 @@
|
|||
"OK
|
Loading…
Reference in New Issue