Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
lit
luvi
luvit
lit.exe
luvi.exe
luvit.exe
6 changes: 3 additions & 3 deletions get-lit.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

$LUVI_VERSION = "2.14.0"
$LIT_VERSION = "3.8.5"
$LUVI_VERSION = "2.15.0"
$LIT_VERSION = "3.9.0"
# Environment variables take precedence
if (test-path env:LUVI_VERSION) { $LUVI_VERSION = $env:LUVI_VERSION }
if (test-path env:LIT_VERSION) { $LIT_VERSION = $env:LIT_VERSION }
Expand All @@ -14,7 +14,7 @@ if (test-path env:LUVI_ARCH) {
$LUVI_ARCH = "Windows-ia32"
}
}
$LUVI_URL = "https://github.com/luvit/luvi/releases/download/v$LUVI_VERSION/luvi-regular-$LUVI_ARCH.exe"
$LUVI_URL = "https://github.com/luvit/luvi/releases/download/v$LUVI_VERSION/luvi-$LUVI_ARCH-luajit-regular.exe"
$LIT_URL = "https://lit.luvit.io/packages/luvit/lit/v$LIT_VERSION.zip"

function Download-File {
Expand Down
8 changes: 4 additions & 4 deletions get-lit.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/sh
set -eu
LUVI_VERSION=${LUVI_VERSION:-2.14.0}
LIT_VERSION=${LIT_VERSION:-3.8.5}
LUVI_VERSION=${LUVI_VERSION:-2.15.0}
LIT_VERSION=${LIT_VERSION:-3.9.0}

LUVI_ARCH=`uname -s`_`uname -m`
LUVI_URL="https://github.com/luvit/luvi/releases/download/v$LUVI_VERSION/luvi-regular-$LUVI_ARCH"
LUVI_ARCH=`uname -s`-`uname -m`
LUVI_URL="https://github.com/luvit/luvi/releases/download/v$LUVI_VERSION/luvi-$LUVI_ARCH-luajit-regular"
LIT_URL="https://lit.luvit.io/packages/luvit/lit/v$LIT_VERSION.zip"

# Download Files
Expand Down