Merge pull request #345 from dvargas46/add-forte

pkg(forte-1.0.0): add forte
This commit is contained in:
Thomas Hobson 2021-10-03 01:45:58 +13:00 committed by GitHub
commit 89a6f81123
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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`,
`emacs`,
`erlang`,
`forte`,
`fortran`,
`freebasic`,
`go`,