Skip to content
Snippets Groups Projects
Commit 5b552617 authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

Merge pull request #73 from incuna/hooks-fix

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