File tree Expand file tree Collapse file tree 3 files changed +18
-11
lines changed Expand file tree Collapse file tree 3 files changed +18
-11
lines changed Original file line number Diff line number Diff line change 22<configuration >
33<packageSources >
44 <clear />
5- <add key =" nuget.org" value =" https://api.nuget.org/v3/index.json" protocolVersion =" 3" />
65 <add key =" LocalDev" value =" artifacts" />
6+ <add key =" nuget.org" value =" https://api.nuget.org/v3/index.json" protocolVersion =" 3" />
77</packageSources >
8-
98</configuration >
Original file line number Diff line number Diff line change @@ -16,19 +16,22 @@ dotnet build
1616
1717echo " Invoke electronize build in WebApp Demo"
1818
19+ echo " Install CLI"
1920
20- echo " /target xxx (dev-build) "
21- dotnet " ../ ElectronNET.CLI/bin/Debug/netcoreapp2.0/dotnet-electronize.dll " build /target custom win7-x86;win32 /dotnet-configuration Debug /electron-arch ia32 /electron-params " --prune=true "
21+ dotnet tool uninstall ElectronNET.CLI -g
22+ dotnet tool install ElectronNET.CLI -g
2223
24+ echo " /target xxx (dev-build)"
25+ electronize build /target custom win7-x86;win32 /dotnet-configuration Debug /electron-arch ia32 /electron-params " --prune=true "
2326
2427echo " /target win (dev-build)"
25- dotnet " ../ElectronNET.CLI/bin/Debug/netcoreapp2.0/dotnet- electronize.dll " build /target win
28+ electronize build /target win
2629
2730echo " /target linux (dev-build)"
28- dotnet " ../ElectronNET.CLI/bin/Debug/netcoreapp2.0/dotnet- electronize.dll " build /target linux
31+ electronize build /target linux
2932
3033echo " /target custom win7-x86;win32 (dev-build)"
31- dotnet " ../ElectronNET.CLI/bin/Debug/netcoreapp2.0/dotnet- electronize.dll " build /target custom win7-x86;win32
34+ electronize build /target custom win7-x86;win32
3235
3336
3437:: Be aware, that for non-electronnet-dev environments the correct
Original file line number Diff line number Diff line change @@ -17,18 +17,23 @@ cd $dir/ElectronNET.WebApp
1717dotnet restore
1818dotnet build
1919
20+ echo " Install CLI as dotnet tool"
21+
22+ dotnet tool uninstall ElectronNET.CLI -g
23+ dotnet tool install ElectronNET.CLI -g
24+
2025echo " Invoke electronize build in WebApp Demo"
2126echo " /target win (dev-build)"
22- dotnet " $dir /ElectronNET.CLI/bin/Debug/netcoreapp2.0/dotnet- electronize.dll " build /target win
27+ electronize build /target win
2328
2429echo " /target linux (dev-build)"
25- dotnet " $dir /ElectronNET.CLI/bin/Debug/netcoreapp2.0/dotnet- electronize.dll " build /target linux
30+ electronize build /target linux
2631
2732echo " /target osx (dev-build)"
28- dotnet " $dir /ElectronNET.CLI/bin/Debug/netcoreapp2.0/dotnet- electronize.dll " build /target osx
33+ electronize build /target osx
2934
3035echo " /target custom win7-x86;win32 (dev-build)"
31- dotnet " $dir /ElectronNET.CLI/bin/Debug/netcoreapp2.0/dotnet- electronize.dll " build /target custom " win7-x86;win32"
36+ electronize build /target custom " win7-x86;win32"
3237
3338# Be aware, that for non-electronnet-dev environments the correct
3439# invoke command would be dotnet electronize ...
You can’t perform that action at this time.
0 commit comments