chore: Move doc generation after stack build in release script

This commit is contained in:
Erik Svedäng 2020-12-19 22:48:31 +01:00
parent 5ad1d227f3
commit 1b6aaaaa7c

View File

@ -25,14 +25,14 @@ else
fi
fi
./scripts/carp.sh ./docs/core/generate_core_docs.carp
mkdir -p "$fullPath"
echo
echo "Building Haskell Stack project..."
stack build
./scripts/carp.sh ./docs/core/generate_core_docs.carp
mkdir "$fullPath/bin"
echo "Copying executable..."
cp "$(stack path --local-install-root)/bin/carp" $fullPath/bin/carp