kopia lustrzana https://github.com/Aircoookie/WLED
use npm ci
rodzic
a4680b7216
commit
fa2949af7d
|
@ -10,7 +10,7 @@ if node_ex is None:
|
||||||
else:
|
else:
|
||||||
# Install the necessary node packages for the pre-build asset bundling script
|
# Install the necessary node packages for the pre-build asset bundling script
|
||||||
print('\x1b[6;33;42m' + 'Installing node packages' + '\x1b[0m')
|
print('\x1b[6;33;42m' + 'Installing node packages' + '\x1b[0m')
|
||||||
env.Execute("npm install")
|
env.Execute("npm ci")
|
||||||
|
|
||||||
# Call the bundling script
|
# Call the bundling script
|
||||||
exitCode = env.Execute("npm run build")
|
exitCode = env.Execute("npm run build")
|
||||||
|
@ -18,4 +18,4 @@ else:
|
||||||
# If it failed, abort the build
|
# If it failed, abort the build
|
||||||
if (exitCode):
|
if (exitCode):
|
||||||
print('\x1b[0;31;43m' + 'npm run build fails check https://kno.wled.ge/advanced/compiling-wled/' + '\x1b[0m')
|
print('\x1b[0;31;43m' + 'npm run build fails check https://kno.wled.ge/advanced/compiling-wled/' + '\x1b[0m')
|
||||||
exit(exitCode)
|
exit(exitCode)
|
||||||
|
|
Ładowanie…
Reference in New Issue