mirror of
https://gitlab.com/MrFry/qmining-data-editor
synced 2025-04-01 20:24:01 +02:00
added make.sh
This commit is contained in:
13
make.sh
Executable file
13
make.sh
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
scriptPath=$(dirname -- "${0}")
|
||||||
|
domainPath="${scriptPath}/../../data/domain"
|
||||||
|
|
||||||
|
if [ ! -f "${domainPath}" ]; then
|
||||||
|
echo "${domainPath} does not exist!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
domain=$(cat "${domainPath}")
|
||||||
|
|
||||||
|
DOMAIN="${domain}" npm run export
|
||||||
|
|
||||||
|
echo "Exported with domain: '${domain}'"
|
Reference in New Issue
Block a user