pkg(forte-1.0.0): add forte

This commit is contained in:
Dan Vargas 2021-08-06 13:30:48 -06:00 committed by Brikaa
parent b36ce650dd
commit e5732ef459
6 changed files with 30 additions and 0 deletions

15
packages/forte/1.0.0/build.sh vendored Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
# the forter interpreter requries ruby
source ../../ruby/3.0.1/build.sh
mkdir -p build
git clone -q "https://github.com/judofyr/forter" build/forter
cd build/forter
mv bin/* ../../bin/
mv lib/* ../../lib/
cd ../../
rm -rf build

4
packages/forte/1.0.0/environment vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# interpreter location
export PATH=$PWD/bin:$PATH

5
packages/forte/1.0.0/metadata.json vendored Normal file
View File

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

3
packages/forte/1.0.0/run vendored Normal file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
forter "$@"

2
packages/forte/1.0.0/test.forte vendored Normal file
View File

@ -0,0 +1,2 @@
1 PRINT "OK"
2 END

View File

@ -338,6 +338,7 @@ Content-Type: application/json
`elixir`, `elixir`,
`emacs`, `emacs`,
`erlang`, `erlang`,
`forte`,
`fortran`, `fortran`,
`go`, `go`,
`golfscript`, `golfscript`,