14 lines
411 B
PowerShell
14 lines
411 B
PowerShell
$ProjectPath = "D:\07-Logiciels\11-IPTV Andoid TV 2"
|
|
$BackupPath = "D:\07-Logiciels\11-IPTV Andoid TV 2 - Backup avant splash iMedia"
|
|
|
|
if (Test-Path $BackupPath) {
|
|
Write-Host "Backup already exists: $BackupPath"
|
|
} else {
|
|
Copy-Item $ProjectPath $BackupPath -Recurse
|
|
}
|
|
|
|
Write-Host "Compile project..."
|
|
Set-Location $ProjectPath
|
|
.\gradlew.bat clean --no-daemon
|
|
.\gradlew.bat :app:assembleDebug --no-daemon
|