Skip to content
Snippets Groups Projects
Commit cc50359f authored by prndev's avatar prndev
Browse files

compile: sanity check now optional

parent 846db4b7
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
while [[ "$1" ]]
do
case $1 in
--insane)
insane="true"
;;
*)
echo "Unknown argument $1"
exit 1
esac
shift
done
# Find and insert current commit
COMMIT=$(git rev-parse --short HEAD)
sed -Ei "s/build .releaseID/\0 commit $COMMIT/" src/gui/mainMenu/AlphaDisclaimer.tw
# Run sanity check.
./sanityCheck
if [[ ! "$insane" ]]
then
# Run sanity check.
./sanityCheck
fi
ARCH="$(uname -m)"
if [ "$ARCH" = "x86_64" ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment