Skip to content

Commit 861477c

Browse files
Merge pull request #57 from ElectronNET/tebeco-run_dll_extension_using_cli
BuildAll sh/cmd changes
2 parents e9e723e + 8c91c17 commit 861477c

File tree

2 files changed

+21
-12
lines changed

2 files changed

+21
-12
lines changed

buildAll.cmd

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cd ElectronNet.API
44
dotnet restore
55
dotnet build
66
cd ..
7-
echo "Restore & Build API"
7+
echo "Restore & Build CLI"
88
cd ElectronNet.CLI
99
dotnet restore
1010
dotnet build
@@ -13,13 +13,17 @@ echo "Restore & Build WebApp Demo"
1313
cd ElectronNet.WebApp
1414
dotnet restore
1515
dotnet build
16+
1617
echo "Invoke electronize build in WebApp Demo"
1718

18-
echo "-- win"
19-
dotnet "../ElectronNet.CLI/bin/Debug/netcoreapp2.0/dotnet-electronize.dll" build win
19+
echo "-- win (dev-build)"
20+
dotnet "../ElectronNET.CLI/bin/Debug/netcoreapp2.0/dotnet-electronize.dll" build win
21+
22+
echo "-- linux (dev-build)"
23+
dotnet "../ElectronNET.CLI/bin/Debug/netcoreapp2.0/dotnet-electronize.dll" build linux
2024

21-
echo "-- linux"
22-
dotnet "../ElectronNet.CLI/bin/Debug/netcoreapp2.0/dotnet-electronize.dll" build linux
25+
REM Be aware, that for non-electronnet-dev environments the correct
26+
REM invoke command would be dotnet electronize ...
2327

2428
REM Not supported on Windows Systems, because of SymLinks...
2529
REM echo "-- osx"

buildAll.sh

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,27 @@ cd $dir/ElectronNET.API
55
dotnet restore
66
dotnet build
77
cd ..
8-
echo "Restore & Build API"
8+
9+
echo "Restore & Build CLI"
910
cd $dir/ElectronNET.CLI
1011
dotnet restore
1112
dotnet build
1213
cd ..
14+
1315
echo "Restore & Build WebApp Demo"
1416
cd $dir/ElectronNET.WebApp
1517
dotnet restore
1618
dotnet build
1719

1820
echo "Invoke electronize build in WebApp Demo"
19-
echo "-- win"
20-
dotnet electronize build win
21+
echo "-- win (dev-build)"
22+
dotnet "$dir/ElectronNET.CLI/bin/Debug/netcoreapp2.0/dotnet-electronize.dll" build win
23+
24+
echo "-- linux (dev-build)"
25+
dotnet "$dir/ElectronNET.CLI/bin/Debug/netcoreapp2.0/dotnet-electronize.dll" build linux
2126

22-
echo "-- linux"
23-
dotnet electronize build linux
27+
echo "-- osx (dev-build)"
28+
dotnet "$dir/ElectronNET.CLI/bin/Debug/netcoreapp2.0/dotnet-electronize.dll" build osx
2429

25-
echo "-- osx"
26-
dotnet electronize build osx
30+
# Be aware, that for non-electronnet-dev environments the correct
31+
# invoke command would be dotnet electronize ...

0 commit comments

Comments
 (0)