mirror of
https://gitlab.com/MrFry/qmining-data-editor
synced 2025-04-01 20:24:01 +02:00
removed some domain dependencies
This commit is contained in:
18
make.sh
18
make.sh
@@ -1,18 +1,2 @@
|
||||
#!/bin/bash
|
||||
scriptPath=$(dirname -- "${0}")
|
||||
domainPath="${scriptPath}/../../data/domain"
|
||||
|
||||
domain="${DOMAIN}"
|
||||
|
||||
if [ -z "${domain}" ] && [ -f "${domainPath}" ]; then
|
||||
domain=$(cat "${domainPath}")
|
||||
fi
|
||||
|
||||
if [ -z "${domain}" ]; then
|
||||
echo -e "\033[0;41mDOMAIN is not set, and ${domainPath} does not exist!\033[0m"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
NEXT_PUBLIC_DOMAIN="${domain}" npm run export
|
||||
|
||||
echo "Exported with domain: '${domain}'"
|
||||
npm run export
|
||||
|
||||
Reference in New Issue
Block a user