CS3413/Assignment1/tests/build.ps1

3 lines
289 B
PowerShell

ssh ishoebot@remotelabm35.cs.unb.ca "cd ~/build/; rm -rf $($args[0])/; mkdir $($args[0])"
scp -r $(Get-Location) ishoebot@remotelabm35.cs.unb.ca:~/build/
ssh ishoebot@remotelabm35.cs.unb.ca "cd ~/build/$($args[0])/; rm -rf build/; chmod +x ./tests/build.sh; ./tests/build.sh $($args[0])"