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:
parent
5a665bc766
commit
9e21ac0a78
1 changed files with 13 additions and 0 deletions
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}'"
|
Loading…
Add table
Add a link
Reference in a new issue