Compare commits

..

4 Commits

Author SHA1 Message Date
Kenneth Reitz f964209589 Merge remote-tracking branch 'origin/master' 2013-04-10 08:01:34 -07:00
Kenneth Reitz 2e699d392e Merge pull request #86 from manojlds/master
Fixing the compile hook scripts paths
2013-04-10 07:54:51 -07:00
manojlds 431ecee509 Using the bin path at root of pwd
The compile script is run with the root of the git repo of the project
being pushed as the working directory.

$BIN_DIR is pointing to the bin directory of the buildpack which is not
where you would want to put the pre and post compile hooks.

Changing back to the old convention of looking for the hooks from the
bin directory at the root of the project.
2013-04-10 15:06:51 +05:30
Kenneth Reitz 90696215ae python-2.7.4 default version 2013-04-09 15:03:27 -07:00
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ LEGACY_TRIGGER="lib/python2.7"
PROFILE_PATH="$BUILD_DIR/.profile.d/python.sh"
# Python version. This will be used in the future to specify custom Pythons.
DEFAULT_PYTHON_VERSION="python-2.7.3"
DEFAULT_PYTHON_VERSION="python-2.7.4"
PYTHON_EXE="/app/.heroku/python/bin/python"
PIP_VERSION="1.3.1"
DISTRIBUTE_VERSION="0.6.36"
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
if [ -f $BIN_DIR/post_compile ]; then
if [ -f bin/post_compile ]; then
echo "-----> Running post-compile hook"
chmod +x $BIN_DIR/post_compile
$BIN_DIR/post_compile
chmod +x bin/post_compile
bin/post_compile
fi
+3 -3
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
if [ -f $BIN_DIR/pre_compile ]; then
if [ -f bin/pre_compile ]; then
echo "-----> Running pre-compile hook"
chmod +x $BIN_DIR/pre_compile
$BIN_DIR/pre_compile
chmod +x bin/pre_compile
bin/pre_compile
fi