Skip to content

Commit 397d6f3

Browse files
authored
Merge pull request #175 from json-scada/master
Update Linux/MacOSX build scripts.
2 parents 01d30ff + c3b5ebf commit 397d6f3

File tree

2 files changed

+23
-12
lines changed

2 files changed

+23
-12
lines changed

platform-linux/build.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/bash
22

33
# Required tools:
4-
# Dotnet SDK 6.0+
5-
# Golang 1.14+
6-
# Node.js 14+
4+
# Dotnet SDK 8.0+
5+
# Golang 1.21+
6+
# Node.js 20+
77

88
# call with argument linux-arm64 for ARM architecture
99

@@ -114,7 +114,7 @@ npm run build
114114

115115
export NODE_OPTIONS=--max-old-space-size=10000
116116

117-
cd ../../custom-developments/basic_bargraph
117+
cd ../../../custom-developments/basic_bargraph
118118
npm install
119119
npm run build
120120

platform-mac/build.sh

+19-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#!/bin/bash
22

33
# Required tools:
4-
# Dotnet SDK 6.0+
5-
# Golang 1.14+
6-
# Node.js 14+
4+
# Dotnet SDK 8.0+
5+
# Golang 1.21+
6+
# Node.js 20+
7+
8+
# call with argument osx-arm64 for ARM architecture
79

810
ARG1=${1:-osx-x64}
911

@@ -33,8 +35,16 @@ cd ../lib60870.netcore
3335
dotnet publish --no-self-contained --runtime $ARG1 -p:PublishReadyToRun=true -c Release -o ../../bin/
3436

3537
cd ../OPC-UA-Client
38+
dotnet restore
3639
dotnet publish --no-self-contained --runtime $ARG1 -p:PublishReadyToRun=true -c Release -o ../../bin/
3740

41+
cd ../opcdaaehda-client-solution-net
42+
dotnet build -f net8.0-windows DaAeHdaNetStandard.sln
43+
44+
cd ../OPC-DA-Client
45+
dotnet restore
46+
dotnet publish --no-self-contained --runtime win-x64 -p:PublishReadyToRun=true -f net8.0-windows -c Release -o ../../bin-wine/ OPC-DA-Client.csproj
47+
3848
export GOBIN=~/json-scada/bin
3949
go env -w GO111MODULE=auto
4050

@@ -87,6 +97,11 @@ cd ../mongofw
8797
npm install
8898
cd ../mongowr
8999
npm install
100+
101+
cd ../AdminUI
102+
npm install
103+
npm run build
104+
90105
cd ../log-io/ui
91106
npm install
92107
npm run build
@@ -97,13 +112,9 @@ cd ../inputs/file
97112
npm install
98113
npm run build
99114

100-
cd ../AdminUI
101-
npm install
102-
npm run build
103-
104115
export NODE_OPTIONS=--max-old-space-size=10000
105116

106-
cd ../../custom-developments/basic_bargraph
117+
cd ../../../custom-developments/basic_bargraph
107118
npm install
108119
npm run build
109120

0 commit comments

Comments
 (0)