Updated to `Freebasic 1.9.0`
This commit is contained in:
parent
86d897d580
commit
6a48428970
|
@ -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
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Compile bas files
|
||||||
|
fbc -lang qb -b "$@" -x out
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Path to fbc compiler
|
||||||
|
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "freebasic",
|
||||||
|
"version": "1.9.0",
|
||||||
|
"aliases": ["bas", "fbc", "basic", "qbasic", "quickbasic"]
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Run output file from compile with arguments
|
||||||
|
shift
|
||||||
|
./out "$@"
|
|
@ -0,0 +1 @@
|
||||||
|
PRINT "OK"
|
Loading…
Reference in New Issue