Skip to content

Commit f5f8a25

Browse files
committed
Build scripts updated.
1 parent b872380 commit f5f8a25

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

platform-linux/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Required tools:
4-
# Dotnet Core SDK 6.0
4+
# Dotnet SDK 6.0
55
# Golang 1.14+
66
# Node.js 14+
77

platform-mac/build.sh

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
#!/bin/bash
22

3+
# Required tools:
4+
# Dotnet SDK 6.0
5+
# Golang 1.14+
6+
# Node.js 14+
7+
38
ARG1=${1:-osx-x64}
49

510
cd ..
611
mkdir bin
712

813
cd src/lib60870.netcore
9-
dotnet publish --runtime $ARG1 -p:PublishReadyToRun=true -c Release -o ../../bin/
14+
dotnet publish --no-self-contained --runtime $ARG1 -p:PublishReadyToRun=true -c Release -o ../../bin/
1015

1116
cd ../OPC-UA-Client
12-
dotnet publish --runtime $ARG1 -p:PublishReadyToRun=true -c Release -o ../../bin/
17+
dotnet publish --no-self-contained --runtime $ARG1 -p:PublishReadyToRun=true -c Release -o ../../bin/
1318

14-
#cd ../dnp3/Dnp3Client
19+
# Dnp3Client is Windows-only (must run under Wine on Linux)
20+
cd ../dnp3/Dnp3Client
1521
#dotnet publish --runtime $ARG1 -p:PublishReadyToRun=true -c Release -o ../../../bin/ Dnp3Client.csproj
1622

1723
export GOBIN=~/json-scada/bin
@@ -48,7 +54,7 @@ npm install
4854
cd ../htdocs-admin
4955
npm install
5056
npm run build
51-
cd ../shell_api
57+
cd ../shell-api
5258
npm install
5359
cd ../alarm_beep
5460
npm install

0 commit comments

Comments
 (0)