File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ platform=x64
5
5
vs=vs2022
6
6
configuration=Release
7
7
build_only=false
8
+ disable_tests=true
8
9
ci=false
9
10
target_framework=
10
11
verbosity=minimal
@@ -63,10 +64,10 @@ generate()
63
64
fi
64
65
65
66
if [ " $os " = " linux" ] || [ " $os " = " macosx" ]; then
66
- " $builddir /premake.sh" --file=" $builddir /premake5.lua" gmake2 --os=$os --arch=$platform --configuration=$configuration --target-framework=$target_framework " $@ "
67
+ " $builddir /premake.sh" --file=" $builddir /premake5.lua" gmake2 --os=$os --arch=$platform --configuration=$configuration --target-framework=$target_framework --disable-tests= $disable_tests " $@ "
67
68
fi
68
69
69
- " $builddir /premake.sh" --file=" $builddir /premake5.lua" $vs --os=$os --arch=$platform --configuration=$configuration --target-framework=$target_framework
70
+ " $builddir /premake.sh" --file=" $builddir /premake5.lua" $vs --os=$os --arch=$platform --configuration=$configuration --target-framework=$target_framework --disable-tests= $disable_tests
70
71
}
71
72
72
73
restore ()
@@ -251,6 +252,9 @@ while [[ $# > 0 ]]; do
251
252
-build_only)
252
253
build_only=true
253
254
;;
255
+ -disable-tests)
256
+ disable_tests=true
257
+ ;;
254
258
esac
255
259
shift
256
260
done
You can’t perform that action at this time.
0 commit comments