-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathtest-helper.sh
More file actions
executable file
·23 lines (16 loc) · 912 Bytes
/
Copy pathtest-helper.sh
File metadata and controls
executable file
·23 lines (16 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
mkdir -p ./logs
mkdir -p ./output
msbuild /t:Restore ./Resizetizer.NT/Resizetizer.NT.csproj
msbuild /t:Rebuild ./Resizetizer.NT/Resizetizer.NT.csproj /bl:logs/resizetizer.binlog
rm -rf ./SampleApp/packages/resizetizer.nt
# Run restore/rebuilds
msbuild /t:Restore ./SampleApp/SampleApp.Android/SampleApp.Android.csproj
msbuild /t:Rebuild ./SampleApp/SampleApp.Android/SampleApp.Android.csproj /bl:logs/android.binlog
msbuild /t:Restore ./SampleApp/SampleApp.iOS/SampleApp.iOS.csproj
msbuild /t:Rebuild ./SampleApp/SampleApp.iOS/SampleApp.iOS.csproj /bl:logs/ios.binlog
# Touch the file to cause a change for incremental build
touch ./SampleApp/SampleApp/camera.svg
# Run incremental builds
msbuild /t:Build ./SampleApp/SampleApp.Android/SampleApp.Android.csproj /bl:logs/android-incremental.binlog
msbuild /t:Build ./SampleApp/SampleApp.iOS/SampleApp.iOS.csproj /bl:logs/ios-incremental.binlog