2021-08-09 11:04:43 +07:00
|
|
|
BUILD_PROFILE=${1:-clinic}
|
|
|
|
echo "Build for profile ${BUILD_PROFILE}"
|
|
|
|
|
2021-08-09 11:42:07 +07:00
|
|
|
cat profile/${BUILD_PROFILE}.js > lib.js
|
|
|
|
cat profile/${BUILD_PROFILE}.dev > electron-builder.env
|
2021-08-09 11:04:43 +07:00
|
|
|
|
2021-08-09 11:42:07 +07:00
|
|
|
echo "Verify lib.js and electron-builder.env"
|
2021-08-09 11:04:43 +07:00
|
|
|
cat lib.js
|
2021-08-09 11:42:07 +07:00
|
|
|
cat electron-builder.env
|
2021-08-09 11:04:43 +07:00
|
|
|
|
|
|
|
yarn dist
|