Merge branch 'master' into japt

This commit is contained in:
Hydrazer 2021-10-01 06:29:51 -06:00 committed by GitHub
commit e8f396ea6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 34 additions and 0 deletions

3
packages/husk/build.sh Normal file
View file

@ -0,0 +1,3 @@
source ../../haskell/9.0.1/build.sh
git clone -q "https://github.com/Hydrazer/Husk.git" husk

View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
# haskell and husk path
export PATH=$PWD/bin:$PATH
export HUSK_PATH=$PWD/husk

View file

@ -0,0 +1,5 @@
{
"language": "husk",
"version": "1.0.0",
"aliases": ["husk"]
}

3
packages/husk/run Normal file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
Husk -ufo"outputFile.hs" "$HUSK_PATH" "$1"

1
packages/husk/test.husk Normal file
View file

@ -0,0 +1 @@
"OK

3
packages/japt/build.sh Normal file
View file

@ -0,0 +1,3 @@
source ../../node/16.3.0/build.sh
git clone -q "https://github.com/Hydrazer/japt.git" japt

View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
# node and japt path
export PATH=$PWD/bin:$PATH
export JAPT_PATH=$PWD/japt

View file

@ -0,0 +1,5 @@
{
"language": "japt",
"version": "2.0.0",
"aliases": ["japt"]
}

3
packages/japt/run Normal file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
node "$JAPT_PATH"/node.js "$1"

1
packages/japt/test.japt Normal file
View file

@ -0,0 +1 @@
"OK