diff --git a/packages/cjam/0.6.5/build.sh b/packages/cjam/0.6.5/build.sh new file mode 100755 index 0000000..825c007 --- /dev/null +++ b/packages/cjam/0.6.5/build.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +# CJam depends on Java +source ../../java/15.0.2/build.sh + +curl -L "https://downloads.sourceforge.net/project/cjam/cjam-0.6.5/cjam-0.6.5.jar?ts=gAAAAABgf6xp4bmSJmNMjz8z23zWVbRgW6mhaFrnxdBe_riqC4rZnhUpXJrQzPpSqhniaoGptfkI_r-tjjBc5326oRmloXIJYQ%3D%3D&r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fcjam%2Ffiles%2Fcjam-0.6.5%2Fcjam-0.6.5.jar%2Fdownload" -o bin/cjam.jar diff --git a/packages/cjam/0.6.5/environment b/packages/cjam/0.6.5/environment new file mode 100644 index 0000000..111d4de --- /dev/null +++ b/packages/cjam/0.6.5/environment @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +# CJam and Java Path +export PATH=$PWD/bin:$PATH +export CJAM_PATH=$PWD/bin diff --git a/packages/cjam/0.6.5/metadata.json b/packages/cjam/0.6.5/metadata.json new file mode 100644 index 0000000..af510fd --- /dev/null +++ b/packages/cjam/0.6.5/metadata.json @@ -0,0 +1,5 @@ +{ + "language": "cjam", + "version": "0.6.5", + "aliases": [] +} diff --git a/packages/cjam/0.6.5/run b/packages/cjam/0.6.5/run new file mode 100644 index 0000000..1877d8f --- /dev/null +++ b/packages/cjam/0.6.5/run @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +# run cjam jar +java -jar "$CJAM_PATH"/cjam.jar "$@" diff --git a/packages/cjam/0.6.5/test.cjam b/packages/cjam/0.6.5/test.cjam new file mode 100644 index 0000000..45021e7 --- /dev/null +++ b/packages/cjam/0.6.5/test.cjam @@ -0,0 +1 @@ +"OK" \ No newline at end of file