mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 12:07:49 +02:00
Updated to Freebasic 1.9.0
This commit is contained in:
parent
86d897d580
commit
6a48428970
6 changed files with 24 additions and 0 deletions
5
packages/freebasic/1.9.0/build.sh
vendored
Normal file
5
packages/freebasic/1.9.0/build.sh
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
curl -L "https://sourceforge.net/projects/fbc/files/FreeBASIC-1.09.0/Binaries-Linux/FreeBASIC-1.09.0-linux-x86_64.tar.gz/download" -o freebasic.tar.gz
|
||||||
|
tar xf freebasic.tar.gz --strip-components=1
|
||||||
|
rm freebasic.tar.gz
|
4
packages/freebasic/1.9.0/compile
vendored
Normal file
4
packages/freebasic/1.9.0/compile
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Compile bas files
|
||||||
|
fbc -lang qb -b "$@" -x out
|
4
packages/freebasic/1.9.0/environment
vendored
Normal file
4
packages/freebasic/1.9.0/environment
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Path to fbc compiler
|
||||||
|
export PATH=$PWD/bin:$PATH
|
5
packages/freebasic/1.9.0/metadata.json
vendored
Normal file
5
packages/freebasic/1.9.0/metadata.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "freebasic",
|
||||||
|
"version": "1.9.0",
|
||||||
|
"aliases": ["bas", "fbc", "basic", "qbasic", "quickbasic"]
|
||||||
|
}
|
5
packages/freebasic/1.9.0/run
vendored
Normal file
5
packages/freebasic/1.9.0/run
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Run output file from compile with arguments
|
||||||
|
shift
|
||||||
|
./out "$@"
|
1
packages/freebasic/1.9.0/test.bas
vendored
Normal file
1
packages/freebasic/1.9.0/test.bas
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
PRINT "OK"
|
Loading…
Add table
Add a link
Reference in a new issue