File tree Expand file tree Collapse file tree 5 files changed +24
-17
lines changed Expand file tree Collapse file tree 5 files changed +24
-17
lines changed Original file line number Diff line number Diff line change 1- param ([switch ]$Verbose )
1+ param (
2+ [switch ]
3+ $Verbose ,
4+ [ValidateSet (" Debug" , " RelWithDebInfo" , " Release" )]
5+ [string ]
6+ $Config = " Release"
7+ )
28
39$root = $PSScriptRoot
410if (! $root ) {
@@ -23,7 +29,7 @@ if (! $installationPath) {
2329$opts = " "
2430$opts += " $root \build\mob.sln"
2531$opts += " -m"
26- $opts += " -p:Configuration=Release "
32+ $opts += " -p:Configuration=${Config} "
2733$opts += " -noLogo"
2834$opts += " -p:UseMultiToolTask=true"
2935$opts += " -p:EnforceProcessCountAcrossBuilds=true"
@@ -45,5 +51,5 @@ if (! $?) {
4551 exit $LastExitCode
4652}
4753
48- Copy-Item " $root \build\src\Release \mob.exe" " $root \mob.exe"
54+ Copy-Item " $root \build\src\${Config} \mob.exe" " $root \mob.exe"
4955Write-Output " run `` .\mob -d prefix/path build`` to start building"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -378,8 +378,13 @@ namespace mob {
378378
379379 MOB_ASSERT (!tasks.empty ());
380380
381- for (auto & t : tasks)
381+ for (auto & t : tasks) {
382+ if (t->name () != task &&
383+ details::find_string_for_task (t->name (), key)) {
384+ continue ;
385+ }
382386 details::set_string_for_task (t->name (), key, value);
387+ }
383388 }
384389 else {
385390 // global task option
Original file line number Diff line number Diff line change @@ -37,9 +37,12 @@ namespace mob::tasks {
3737
3838 url source_url ()
3939 {
40- return " https://pypi.io/packages/source/P/PyQt6/"
41- " PyQt6-" +
42- pyqt::version () + " .tar.gz" ;
40+ const auto version = pyqt::version ();
41+ std::string base = " https://pypi.io/packages/source/P/PyQt6/" ;
42+ if (version.find (" dev" ) != std::string::npos) {
43+ base = " https://riverbankcomputing.com/pypi/packages/PyQt6/" ;
44+ }
45+ return base + " PyQt6-" + pyqt::version () + " .tar.gz" ;
4346 }
4447
4548 url prebuilt_url ()
Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ namespace mob {
5656 if (f.line .find (" Copyright (C) Microsoft Corporation." ) !=
5757 std::string::npos)
5858 f.lv = context::level::trace;
59+ if (f.line .find (" Microsoft (R) Program Maintenance Utility" ) !=
60+ std::string::npos)
61+ f.lv = context::level::trace;
5962 })
6063 .arg (" /C" , process::log_quiet) // silent
6164 .arg (" /S" , process::log_quiet) // silent
You can’t perform that action at this time.
0 commit comments