mirror of
https://github.com/snowball-tools/snowballtools-base
synced 2025-08-01 14:12:06 +00:00
build-webapp-script-fix
This commit is contained in:
parent
48fd953c60
commit
3735c77fac
5
.yarnrc
Normal file
5
.yarnrc
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||||
|
# yarn lockfile v1
|
||||||
|
|
||||||
|
|
||||||
|
yarn-path ".yarn/releases/yarn-1.22.21.cjs"
|
@ -9,6 +9,14 @@ if [[ -d "$DEST_DIR" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -f "$PKG_DIR/.env" ]]; then
|
||||||
|
echo "Using existing .env file"
|
||||||
|
else
|
||||||
|
mv "$PKG_DIR/.env.example" "$PKG_DIR/.env"
|
||||||
|
echo "Created .env file. Please populate with the correct values."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
cat > $PKG_DIR/.env <<EOF
|
cat > $PKG_DIR/.env <<EOF
|
||||||
REACT_APP_SERVER_URL = 'LACONIC_HOSTED_CONFIG_app_server_url'
|
REACT_APP_SERVER_URL = 'LACONIC_HOSTED_CONFIG_app_server_url'
|
||||||
REACT_APP_GITHUB_CLIENT_ID = 'LACONIC_HOSTED_CONFIG_app_github_clientid'
|
REACT_APP_GITHUB_CLIENT_ID = 'LACONIC_HOSTED_CONFIG_app_github_clientid'
|
||||||
|
Loading…
Reference in New Issue
Block a user