Skip to content

Commit

Permalink
chore: add scripts/setup-dev.sh to bootstrap me
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfortunato committed Apr 10, 2024
1 parent 674717a commit cb72e62
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/setup-dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
set -e
echo "Setting gitconfig core.hookspath to our hooks..."
git config core.hookspath "$(git rev-parse --git-path ../scripts/.githooks)"
echo "Success."
echo "Checking that .env.local exists ..."
test -f "$(git rev-parse --git-path ../.env.local)"
echo "Success."

echo "Development environemnt setup. You can now use helper scripts/ in here when you want."

0 comments on commit cb72e62

Please sign in to comment.