bugged-racing/scripts/devsetup

11 lines
336 B
Plaintext
Raw Permalink Normal View History

2021-11-18 23:36:05 +00:00
#!/bin/bash
echo "Checking for gdtoolkit"
(type gdformat > /dev/null 2>&1 || pip install gdtoolkit || echo "Can't install gdtoolkit. Try to install it manually!" && exit 1)
echo "Gdtoolkit ready!"
echo "Preparing pre-commit hook"
cp scripts/pre-commit .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
echo "Pre-commit hook ready"