restore() {
if [ -d /nuget ]; then
- dotnet restore -s /nuget $1
+ dotnet restore -s /nuget $@
else
- dotnet restore $1
+ dotnet restore $@
fi
}
cmd_full_build() {
clean
prepare_solution full
- restore $SLN_FILE
+ restore $SLN_FILE $@
build $SLN_FILE $@
cleanup_solution
build_artifacts
nifile_cnt=$(sdb $SDB_OPTIONS shell find $TARGET_ASSEMBLY_DIR -name '*.ni.dll' | wc -l)
if [ $nifile_cnt -gt 0 ]; then
sdb $SDB_OPTIONS shell "rm -f $TARGET_ASSEMBLY_DIR/*.ni.dll"
- sdb $SDB_OPTIONS shell nitool --system
- sdb $SDB_OPTIONS shell nitool --regen-all-app
+ sdb $SDB_OPTIONS shell dotnettool --ni-system
+ sdb $SDB_OPTIONS shell dotnettool --ni-regen-all-app
fi
sdb $SDB_OPTIONS shell chsmack -a '_' $TARGET_ASSEMBLY_DIR/*