diff --git a/assets/Scripts/compiler/get_typescript.ps1 b/assets/Scripts/compiler/get_typescript.ps1 new file mode 100644 index 00000000..cfa7536d --- /dev/null +++ b/assets/Scripts/compiler/get_typescript.ps1 @@ -0,0 +1,5 @@ +Set-Variable -Name "path" -Value "./assets/scripts/compiler/typescript.js" + +if(![System.IO.File]::Exists($path)){ + Invoke-WebRequest -O ./assets/scripts/compiler/typescript.js https://unpkg.com/typescript@latest/lib/typescript.js +} \ No newline at end of file diff --git a/assets/Scripts/compiler/get_typescript.sh b/assets/Scripts/compiler/get_typescript.sh index eeb4384c..de058abc 100644 --- a/assets/Scripts/compiler/get_typescript.sh +++ b/assets/Scripts/compiler/get_typescript.sh @@ -1 +1 @@ -wget -O typescript.js https://unpkg.com/typescript@latest/lib/typescript.js \ No newline at end of file +wget -O ./assets/scripts/compiler/typescript.js https://unpkg.com/typescript@latest/lib/typescript.js \ No newline at end of file diff --git a/buildNumber.properties b/buildNumber.properties index b30516ae..bea68206 100644 --- a/buildNumber.properties +++ b/buildNumber.properties @@ -1,3 +1,3 @@ #maven.buildNumber.plugin properties file -#Mon Jul 29 21:49:03 EDT 2024 -buildNumber=188 +#Wed Jul 31 20:20:41 EDT 2024 +buildNumber=193 diff --git a/pom.xml b/pom.xml index 9ff6d560..059e8b38 100644 --- a/pom.xml +++ b/pom.xml @@ -279,6 +279,8 @@ + + lwjgl-natives-linux @@ -289,7 +291,40 @@ natives-linux + + + + org.codehaus.mojo + exec-maven-plugin + 3.0.0 + + + Download Typescript + generate-sources + + exec + + + ${basedir}/assets/scripts/compiler/get_typescript.sh + + + + + + + + + + + + + + + + + + lwjgl-natives-macos @@ -301,7 +336,37 @@ 17 natives-macos + + + + org.codehaus.mojo + exec-maven-plugin + 3.0.0 + + + Download Typescript + generate-sources + + exec + + + ${basedir}/assets/scripts/compiler/get_typescript.sh + + + + + + + + + + + + + + + lwjgl-natives-windows @@ -312,8 +377,43 @@ natives-windows + + + + org.codehaus.mojo + exec-maven-plugin + 3.0.0 + + + Download Typescript + generate-sources + + exec + + + powershell.exe + + -InputFormat + None + -File + ${basedir}/assets/scripts/compiler/get_typescript.ps1 + + + + + + + + + + + + + + + @@ -375,6 +475,16 @@ --> +