0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-19 17:02:13 +02:00

Improve scripts

This commit is contained in:
Alexander01998 2020-10-28 15:38:50 +01:00
parent 4292162cd0
commit e148546666
5 changed files with 45 additions and 0 deletions

View File

@ -1,4 +1,15 @@
@echo off
echo ...............................................
echo ...#....##....#.#.......#..######.....######.#######...
echo .....#....##....#.#.......#..#.....##..#..........#........
echo .......#..#..#..#..#.......#..#######....######....#.........
echo ......#..#..#..#...#.....#...#...##...........#...#........
echo .....##....##.....#####....#.....##...######....#......
echo ...............................................
echo.
echo Building Wurst...
cd ..
call gradlew.bat build
echo.
echo Done. Check for errors above before closing this window!
pause

View File

@ -1,4 +1,13 @@
@echo off
echo ...............................................
echo ...#....##....#.#.......#..######.....######.#######...
echo .....#....##....#.#.......#..#.....##..#..........#........
echo .......#..#..#..#..#.......#..#######....######....#.........
echo ......#..#..#..#...#.....#...#...##...........#...#........
echo .....##....##.....#####....#.....##...######....#......
echo ...............................................
echo.
echo Generating sources and setting up Eclipse...
cd ..
call gradlew.bat genSources
call gradlew.bat eclipse

View File

@ -1,4 +1,13 @@
@echo off
echo ...............................................
echo ...#....##....#.#.......#..######.....######.#######...
echo .....#....##....#.#.......#..#.....##..#..........#........
echo .......#..#..#..#..#.......#..#######....######....#.........
echo ......#..#..#..#...#.....#...#...##...........#...#........
echo .....##....##.....#####....#.....##...######....#......
echo ...............................................
echo.
echo OLD VERSION!!! Only use for mappings that don't support v2.
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"

View File

@ -1,4 +1,12 @@
@echo off
echo ...............................................
echo ...#....##....#.#.......#..######.....######.#######...
echo .....#....##....#.#.......#..#.....##..#..........#........
echo .......#..#..#..#..#.......#..#######....######....#.........
echo ......#..#..#..#...#.....#...#...##...........#...#........
echo .....##....##.....#####....#.....##...######....#......
echo ...............................................
echo.
cd ..
set /p targetMappings=Target Mappings (net.fabricmc.yarn:v2):
call gradlew.bat migrateMappings --mappings="%targetMappings%"

View File

@ -1,4 +1,12 @@
@echo off
echo ...............................................
echo ...#....##....#.#.......#..######.....######.#######...
echo .....#....##....#.#.......#..#.....##..#..........#........
echo .......#..#..#..#..#.......#..#######....######....#.........
echo ......#..#..#..#...#.....#...#...##...........#...#........
echo .....##....##.....#####....#.....##...######....#......
echo ...............................................
echo.
cd ..
set /p id=Pull Request #
set branch=pr%id%