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

17 lines
926 B
Batchfile
Raw Permalink Normal View History

2020-01-04 23:25:32 +01:00
@echo off
2020-10-28 15:38:50 +01:00
echo ...............................................
echo ...#....##....#.#.......#..######.....######.#######...
echo .....#....##....#.#.......#..#.....##..#..........#........
echo .......#..#..#..#..#.......#..#######....######....#.........
echo ......#..#..#..#...#.....#...#...##...........#...#........
echo .....##....##.....#####....#.....##...######....#......
echo ...............................................
echo.
echo OLD VERSION!!! Only use for mappings that don't support v2.
2020-01-04 23:25:32 +01:00
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