Commit 1620b350 authored by Haelwenn's avatar Haelwenn
Browse files

Merge branch 'bugfix/build-sh-missing-directory' into 'rebase/glitch-soc'

Bugfix: build.sh: use TARGET env variable and check it

See merge request !17
parents 201f8d89 dd619808
Pipeline #8669 passed with stage
in 4 minutes and 1 second
#!/bin/sh
TARGET="../pleroma" # Where pleroma’s repository is sitting
TARGET="${TARGET:-../pleroma}" # Where pleroma’s repository is sitting
if [[ ! -d "${TARGET}/priv/static" ]]
then
echo "Error: ${TARGET}/priv/static directory is missing, are you sure TARGET is set to a pleroma repository?"
echo "Info: TARGET=${TARGET}"
exit 1
fi
yarn install -D
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment