Add a deploy script.
[rup.git] / deploy.ps1
1 git pull
2 cargo build --release
3
4 $destination=$args[0]
5
6 if (!(Test-Path -Path $destination)) {
7    New-Item -ItemType directory -Path $destination
8 }
9
10 Copy-Item target/release/rup -Destination $destination
11 Copy-Item key.secret -Destination $destination
12 Copy-Item conf.ron -Destination $destination
13 Copy-Item static -Destination $destination -Recurse -Force
14