Skip to content

Commit

Permalink
Build: Include manual files
Browse files Browse the repository at this point in the history
  • Loading branch information
themitosan committed Jul 7, 2023
1 parent 0bb1d81 commit 0225ed3
Show file tree
Hide file tree
Showing 4 changed files with 94 additions and 0 deletions.
24 changes: 24 additions & 0 deletions build-normal.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
::===================================::
:: ::
:: R3 Water Sample Puzzle ::
:: build-normal.bat ::
:: ::
:: Build file for windows ::
:: ::
::===================================::
@echo off
cls
title Running compiler - Please wait...
echo.
echo Running compiler - Please wait...
echo Flavor: normal
echo.
echo IMPORTANT: Make sure to have Node.js (20.x) installed before running this script!
echo You can get it here: https://nodejs.org/
echo.
node ./compiler/comp-prepFiles.js --mainJs=app.js --copyFolders=img,tools,forms,node_modules --exportJsSample=!1 --cssMinifyLevel=2 --jsBeforeMain=systemjs.js,named-register.min.js
node ./compiler/comp-nw.js --platform=win64 --flavor=normal --nwVersion=0.77.0
title Process complete!
echo.
pause
exit
23 changes: 23 additions & 0 deletions build-normal.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#===================================#
# #
# R3 Water Sample Puzzle #
# build-normal.sh #
# #
# Build file for linux distros #
# #
#===================================#
stty -echo
clear
echo
echo Running compiler - Please wait...
echo Flavor: normal
echo
echo IMPORTANT: Make sure to have Node.js \(20.x\) installed before running this script!
echo You can get it here: https://nodejs.org/
echo
node ./compiler/comp-prepFiles.js --mainJs=app.js --copyFolders=img,tools,forms,node_modules --exportJsSample=!1 --cssMinifyLevel=2 --jsBeforeMain=systemjs.js,named-register.min.js
node ./compiler/comp-nw.js --platform=linux64 --flavor=normal --nwVersion=0.77.0
echo Process complete!
echo
stty echo
exit
24 changes: 24 additions & 0 deletions build-sdk.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
::===================================::
:: ::
:: R3 Water Sample Puzzle ::
:: build-sdk.bat ::
:: ::
:: Build file for windows ::
:: ::
::===================================::
@echo off
cls
title Running compiler - Please wait...
echo.
echo Running compiler - Please wait...
echo Flavor: sdk
echo.
echo IMPORTANT: Make sure to have Node.js (20.x) installed before running this script!
echo You can get it here: https://nodejs.org/
echo.
node ./compiler/comp-prepFiles.js --mainJs=app.js --copyFolders=img,tools,forms,node_modules --exportJsSample=!1 --cssMinifyLevel=2 --jsBeforeMain=systemjs.js,named-register.min.js
node ./compiler/comp-nw.js --platform=win64 --flavor=sdk --nwVersion=0.77.0
title Process complete!
echo.
pause
exit
23 changes: 23 additions & 0 deletions build-sdk.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#===================================#
# #
# R3 Water Sample Puzzle #
# build-sdk.sh #
# #
# Build file for linux distros #
# #
#===================================#
stty -echo
clear
echo
echo Running compiler - Please wait...
echo Flavor: sdk
echo
echo IMPORTANT: Make sure to have Node.js \(20.x\) installed before running this script!
echo You can get it here: https://nodejs.org/
echo
node ./compiler/comp-prepFiles.js --mainJs=app.js --copyFolders=img,tools,forms,node_modules --exportJsSample=!1 --cssMinifyLevel=2 --jsBeforeMain=systemjs.js,named-register.min.js
node ./compiler/comp-nw.js --platform=linux64 --flavor=sdk --nwVersion=0.77.0
echo Process complete!
echo
stty echo
exit

0 comments on commit 0225ed3

Please sign in to comment.