Fixes for Ante

Turns out it's quite poorly designed.
This commit is contained in:
Radon Rosborough 2020-09-27 19:33:00 -07:00
parent 49ba98c8fc
commit 69723f203a
2 changed files with 6 additions and 3 deletions

View File

@ -144,9 +144,10 @@ println (* 123 234)`,
ante: {
aliases: ["an"],
name: "Ante",
repl: "ante",
main: "main.an",
compile: "ante main.an",
run: "./main",
run: "./main; ante",
template: `puts("Hello, world!".cStr)
`,
},

View File

@ -34,8 +34,10 @@ mv linux/*.so* /usr/lib/x86_64-linux-gnu/
rm -rf linux linux-latest.tar.gz
# Ante
wget -nv https://github.com/raxod502/riju-cdn/releases/download/ante-0.8.0-d2c43992e0c7a4c1942d5c097233f4f7638a1ee6/ante -O /usr/local/bin/ante
chmod +x /usr/local/bin/ante
wget -nv https://github.com/raxod502/riju-cdn/releases/download/ante-0.8.0-d2c43992e0c7a4c1942d5c097233f4f7638a1ee6/ante -O /opt/ante/ante
chmod +x /opt/ante/ante
wget -nv https://github.com/raxod502/riju-cdn/releases/download/ante-0.8.0-d2c43992e0c7a4c1942d5c097233f4f7638a1ee6/libantecommon.so -O /opt/ante/libantecommon.so
ln -s /opt/ante/ante /usr/local/bin/
# Ante (Cards)
wget -nv https://github.com/michaeldv/ante/raw/master/ante.rb -O /usr/local/bin/ante-cards