Skip to content
Snippets Groups Projects
Commit 5be3e0ce authored by Marc Tamlyn's avatar Marc Tamlyn
Browse files

Use $BIN_DIR in hooks.

parent ddde30a1
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash #!/usr/bin/env bash
if [ -f bin/post_compile ]; then if [ -f $BIN_DIR/post_compile ]; then
echo "-----> Running post-compile hook" echo "-----> Running post-compile hook"
chmod +x bin/post_compile chmod +x $BIN_DIR/post_compile
bin/post_compile $BIN_DIR/post_compile
fi fi
\ No newline at end of file
#!/usr/bin/env bash #!/usr/bin/env bash
if [ -f bin/pre_compile ]; then if [ -f $BIN_DIR/pre_compile ]; then
echo "-----> Running pre-compile hook" echo "-----> Running pre-compile hook"
chmod +x bin/pre_compile chmod +x $BIN_DIR/pre_compile
bin/pre_compile $BIN_DIR/pre_compile
fi fi
\ No newline at end of file
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