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
|
||||
#Mon Jul 29 21:49:03 EDT 2024
|
||||
buildNumber=188
|
||||
#Wed Jul 31 20:20:41 EDT 2024
|
||||
buildNumber=193
|
||||
|
||||
110
pom.xml
110
pom.xml
@ -279,6 +279,8 @@
|
||||
</dependencies>
|
||||
|
||||
<profiles>
|
||||
|
||||
<!-- LINUX -->
|
||||
<profile>
|
||||
<id>lwjgl-natives-linux</id>
|
||||
<activation>
|
||||
@ -289,7 +291,40 @@
|
||||
<properties>
|
||||
<lwjgl.natives>natives-linux</lwjgl.natives>
|
||||
</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- MACOS -->
|
||||
<profile>
|
||||
<id>lwjgl-natives-macos</id>
|
||||
<activation>
|
||||
@ -301,7 +336,37 @@
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
<lwjgl.natives>natives-macos</lwjgl.natives>
|
||||
</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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- WINDOWS -->
|
||||
<profile>
|
||||
<id>lwjgl-natives-windows</id>
|
||||
<activation>
|
||||
@ -312,8 +377,43 @@
|
||||
<properties>
|
||||
<lwjgl.natives>natives-windows</lwjgl.natives>
|
||||
</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>
|
||||
</profiles>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- MAIN BUILD -->
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
@ -375,6 +475,16 @@
|
||||
</arguments>
|
||||
</configuration>
|
||||
</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>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user