mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-25 14:36:28 +02:00
Merge branch 'master' into japt
This commit is contained in:
commit
e8f396ea6a
10 changed files with 34 additions and 0 deletions
3
packages/husk/build.sh
Normal file
3
packages/husk/build.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
source ../../haskell/9.0.1/build.sh
|
||||||
|
|
||||||
|
git clone -q "https://github.com/Hydrazer/Husk.git" husk
|
5
packages/husk/environment
Normal file
5
packages/husk/environment
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# haskell and husk path
|
||||||
|
export PATH=$PWD/bin:$PATH
|
||||||
|
export HUSK_PATH=$PWD/husk
|
5
packages/husk/metadata.json
Normal file
5
packages/husk/metadata.json
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "husk",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"aliases": ["husk"]
|
||||||
|
}
|
3
packages/husk/run
Normal file
3
packages/husk/run
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
Husk -ufo"outputFile.hs" "$HUSK_PATH" "$1"
|
1
packages/husk/test.husk
Normal file
1
packages/husk/test.husk
Normal file
|
@ -0,0 +1 @@
|
||||||
|
"OK
|
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" japt
|
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/japt
|
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"]
|
||||||
|
}
|
3
packages/japt/run
Normal file
3
packages/japt/run
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
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