Skip to content

Commit 0e84f1a

Browse files
committed
Added Linux build script.
1 parent 00e7b0b commit 0e84f1a

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

platform-linux/build.sh

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#!/bin/bash
2+
3+
cd ..
4+
mkdir bin
5+
6+
cd src/lib60870.netcore
7+
dotnet publish --runtime linux-x64 -p:PublishReadyToRun=true -c Release -o ../../bin/
8+
9+
cd ../OPC-UA-Client
10+
dotnet publish --runtime linux-x64 -p:PublishReadyToRun=true -c Release -o ../../bin/
11+
12+
cd ../dnp3/Dnp3Client
13+
dotnet publish --runtime linux-x64 -p:PublishReadyToRun=true -c Release -o ../../../bin/
14+
15+
export GOBIN=~/json-scada/bin
16+
cd ../../calculations
17+
go get ./...
18+
go build
19+
cp calculations ../../bin/
20+
21+
cd ../i104m
22+
go get ./...
23+
go build
24+
cp i104m ../../bin/
25+
26+
cd ../cs_data_processor
27+
npm update
28+
cd ../grafana_alert2event
29+
npm update
30+
cd ../demo_simul
31+
npm update
32+
cd ../server_realtime
33+
npm update
34+
cd ../server_realtime_auth
35+
npm update
36+
cd ../oshmi2json
37+
npm update
38+
cd ../oshmi_sync
39+
npm update
40+
cd ../htdocs-admin
41+
npm update
42+
npm run build
43+
cd ../shell_api
44+
npm update
45+
cd ../alarm_beep
46+
npm update
47+

0 commit comments

Comments
 (0)