Skip to content

Commit 9744bc4

Browse files
committed
Updated build scripts.
1 parent bb766d8 commit 9744bc4

5 files changed

Lines changed: 27 additions & 3 deletions

File tree

platform-linux/build.sh

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ cd ../htdocs-admin
7575
export NODE_OPTIONS=--openssl-legacy-provider
7676
npm install
7777
npm run build
78+
export NODE_OPTIONS=
7879
cd ../shell-api
7980
npm install
8081
cd ../alarm_beep
@@ -89,5 +90,16 @@ cd ../carbone-reports
8990
npm install
9091
cd ../backup-mongo
9192
npm install
92-
cd ../..
93+
94+
cd ../log-io/ui
95+
npm install
96+
npm run build
97+
cd ../server
98+
npm install
99+
npm run build
100+
cd ../inputs/file
101+
npm install
102+
npm run build
103+
104+
cd ../../../..
93105

platform-mac/build.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ cd ../htdocs-admin
6767
export NODE_OPTIONS=--openssl-legacy-provider
6868
npm install
6969
npm run build
70+
export NODE_OPTIONS=
7071
cd ../shell-api
7172
npm install
7273
cd ../alarm_beep
@@ -81,5 +82,14 @@ cd ../carbone-reports
8182
npm install
8283
cd ../backup-mongo
8384
npm install
84-
cd ../..
85+
cd ../log-io/ui
86+
npm install
87+
npm run build
88+
cd ../server
89+
npm install
90+
npm run build
91+
cd ../inputs/file
92+
npm install
93+
npm run build
8594

95+
cd ../../../..

platform-rhel9/json-scada-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
sudo dnf -y update
88
sudo dnf -y install epel-release
9-
sudo dnf -y install tar nodejs golang nginx wget chkconfig
9+
sudo dnf -y install tar nodejs npm golang nginx wget chkconfig
1010
sudo dnf -y group install --with-optional "Development Tools" ".NET Development"
1111
sudo update-crypto-policies --set LEGACY
1212

platform-windows/build.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ cd %SRCPATH%\htdocs-admin
105105
set NODE_OPTIONS=--openssl-legacy-provider
106106
call %NPM% install
107107
call %NPM% run build
108+
set NODE_OPTIONS=
108109

109110
cd %SRCPATH%\grafana_alert2event
110111
call %NPM% install

platform-windows/buildupd.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ set NODE_OPTIONS=--openssl-legacy-provider
106106
call %NPM% i --package-lock-only
107107
call %NPM% update
108108
call %NPM% run build
109+
set NODE_OPTIONS=
109110
cd %SRCPATH%\grafana_alert2event
110111
call %NPM% i --package-lock-only
111112
call %NPM% update

0 commit comments

Comments
 (0)