luvit / lit

Toolkit for developing, sharing, and running luvit/lua programs and libraries.
http://lit.luvit.io/
Apache License 2.0
245 stars 58 forks source link

get-lit: Allow specifiying the lit/luvi versions to download #258

Closed squeek502 closed 5 years ago

squeek502 commented 5 years ago

Example sh usage:

curl get-lit.sh | LUVI_VERSION=2.7.6 LIT_VERSION=3.5.4 sh

Example ps1 usage:

set LUVI_VERSION=3.5.4
set LIT_VERSION=2.7.6
PowerShell -NoProfile ...

Note that it would also be possible to specify the Luvit version (to do something like lit make lit://luvit/luvit@2.11.2), but due to how the Lit version matching works, this will match 2.x.x so it wouldn't really be useful (i.e. it would install 2.15.0 even if you specify 2.11.2).