download typescript with build
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
92a6cefc20
commit
7008e0aa25
5
assets/Scripts/compiler/get_typescript.ps1
Normal file
5
assets/Scripts/compiler/get_typescript.ps1
Normal file
@ -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
|
||||||
|
}
|
||||||
@ -1 +1 @@
|
|||||||
wget -O typescript.js https://unpkg.com/typescript@latest/lib/typescript.js
|
wget -O ./assets/scripts/compiler/typescript.js https://unpkg.com/typescript@latest/lib/typescript.js
|
||||||
@ -1,3 +1,3 @@
|
|||||||
#maven.buildNumber.plugin properties file
|
#maven.buildNumber.plugin properties file
|
||||||
#Mon Jul 29 21:49:03 EDT 2024
|
#Wed Jul 31 20:20:41 EDT 2024
|
||||||
buildNumber=188
|
buildNumber=193
|
||||||
|
|||||||
110
pom.xml
110
pom.xml
@ -279,6 +279,8 @@
|
|||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
|
||||||
|
<!-- LINUX -->
|
||||||
<profile>
|
<profile>
|
||||||
<id>lwjgl-natives-linux</id>
|
<id>lwjgl-natives-linux</id>
|
||||||
<activation>
|
<activation>
|
||||||
@ -289,7 +291,40 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<lwjgl.natives>natives-linux</lwjgl.natives>
|
<lwjgl.natives>natives-linux</lwjgl.natives>
|
||||||
</properties>
|
</properties>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
|
<version>3.0.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>Download Typescript</id>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>exec</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<executable>${basedir}/assets/scripts/compiler/get_typescript.sh</executable>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- MACOS -->
|
||||||
<profile>
|
<profile>
|
||||||
<id>lwjgl-natives-macos</id>
|
<id>lwjgl-natives-macos</id>
|
||||||
<activation>
|
<activation>
|
||||||
@ -301,7 +336,37 @@
|
|||||||
<maven.compiler.target>17</maven.compiler.target>
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
<lwjgl.natives>natives-macos</lwjgl.natives>
|
<lwjgl.natives>natives-macos</lwjgl.natives>
|
||||||
</properties>
|
</properties>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
|
<version>3.0.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>Download Typescript</id>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>exec</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<executable>${basedir}/assets/scripts/compiler/get_typescript.sh</executable>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- WINDOWS -->
|
||||||
<profile>
|
<profile>
|
||||||
<id>lwjgl-natives-windows</id>
|
<id>lwjgl-natives-windows</id>
|
||||||
<activation>
|
<activation>
|
||||||
@ -312,8 +377,43 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<lwjgl.natives>natives-windows</lwjgl.natives>
|
<lwjgl.natives>natives-windows</lwjgl.natives>
|
||||||
</properties>
|
</properties>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
|
<version>3.0.0</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>Download Typescript</id>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>exec</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<executable>powershell.exe</executable>
|
||||||
|
<arguments>
|
||||||
|
<argument>-InputFormat</argument>
|
||||||
|
<argument>None</argument>
|
||||||
|
<argument>-File</argument>
|
||||||
|
<argument>${basedir}/assets/scripts/compiler/get_typescript.ps1</argument>
|
||||||
|
</arguments>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- MAIN BUILD -->
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
@ -375,6 +475,16 @@
|
|||||||
</arguments>
|
</arguments>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution> -->
|
</execution> -->
|
||||||
|
<!-- <execution>
|
||||||
|
<id>Download Typescript</id>
|
||||||
|
<phase>generate-sources</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>exec</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<executable>${basedir}/assets/scripts/compiler/get_typescript${script.extension}</executable>
|
||||||
|
</configuration>
|
||||||
|
</execution> -->
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user