.\gradlew buildFatJar $TEST = Read-Host "TEST" if ($TEST -eq "Y") { .\gradlew test if ($LASTEXITCODE -ne 0) { Pause } } $DEPLOY = Read-Host "DEPLOY" if ($DEPLOY -eq "Y") { Copy-Item "build\libs\Twilight.jar" "\\taehui\taehui" } $APPLY = Read-Host "APPLY" if ($APPLY -eq "Y") { wsl ssh taehui.ddns.net "sudo service twilight restart" } $VCS = Read-Host "VCS" if ($VCS -eq "Y") { git add * git commit -m "v1.0-SNAPSHOT" git checkout master git merge develop git push git checkout develop git push }