mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-19 17:02:13 +02:00
Add scripts
This commit is contained in:
parent
d8fbce0080
commit
b74ccecc4b
4
scripts/build.cmd
Normal file
4
scripts/build.cmd
Normal file
@ -0,0 +1,4 @@
|
||||
@echo off
|
||||
cd ..
|
||||
call gradlew.bat build
|
||||
pause
|
4
scripts/downloadAssets.cmd
Normal file
4
scripts/downloadAssets.cmd
Normal file
@ -0,0 +1,4 @@
|
||||
@echo off
|
||||
cd ..
|
||||
call gradlew.bat downloadAssets
|
||||
pause
|
5
scripts/genSources-eclipse.cmd
Normal file
5
scripts/genSources-eclipse.cmd
Normal file
@ -0,0 +1,5 @@
|
||||
@echo off
|
||||
cd ..
|
||||
call gradlew.bat genSources
|
||||
call gradlew.bat eclipse
|
||||
pause
|
8
scripts/migrateMappings.cmd
Normal file
8
scripts/migrateMappings.cmd
Normal file
@ -0,0 +1,8 @@
|
||||
@echo off
|
||||
cd ..
|
||||
set /p targetMappings=Target Mappings (net.fabricmc.yarn):
|
||||
call gradlew.bat migrateMappings -PtargetMappingsArtifact="%targetMappings%" -PinputDir="%cd%/src/main/java" -PoutputDir="%cd%/src/main/new java"
|
||||
rmdir /s /q "%cd%/src/main/java"
|
||||
move "%cd%/src/main/new java" "%cd%/src/main/java"
|
||||
rem gradlew.bat downloadAssets
|
||||
pause
|
7
scripts/migrateMappings_v2.cmd
Normal file
7
scripts/migrateMappings_v2.cmd
Normal file
@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
cd ..
|
||||
set /p targetMappings=Target Mappings (net.fabricmc.yarn:v2):
|
||||
call gradlew.bat migrateMappings --mappings="%targetMappings%"
|
||||
rmdir /s /q "%cd%/src/main/java"
|
||||
move "%cd%/remappedSrc" "%cd%/src/main/java"
|
||||
pause
|
7
scripts/premerge.bat
Normal file
7
scripts/premerge.bat
Normal file
@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
cd ..
|
||||
set /p id=Pull Request #
|
||||
set branch=pr%id%
|
||||
call git fetch origin pull/%id%/head:%branch%
|
||||
call git checkout %branch%
|
||||
pause
|
Loading…
Reference in New Issue
Block a user