Skip to content

Commit

Permalink
gah
Browse files Browse the repository at this point in the history
  • Loading branch information
friism committed Dec 3, 2016
1 parent d0bc0c4 commit 4fb7e6e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .profile.d/buildpack-boot.sh

This file was deleted.

4 changes: 3 additions & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,18 @@ curl https://github.com/friism/libuv-builder/releases/download/v${LIBUV_VERSION}
| tar xz -C ${BUILD_DIR}
cat <<EOF >$BUILD_DIR/.profile.d/000_libuv.sh
export LD_LIBRARY_PATH="\$HOME/libuv/lib:\$LD_LIBRARY_PATH"
export PATH="`find .dnx/runtimes -type d -name bin`:\$PATH"
EOF

# TODO: read Procfile from `commands` in project.json
if [ -e ${SRC_DIR}/Procfile ]; then
cp ${SRC_DIR}/Procfile ${BUILD_DIR}
else
ROOTS=`cd ${BUILD_DIR}; find approot/packages/ -name root`
if [ $( echo "${ROOTS}" | wc -l ) -gt 0 ]; then
APP_ROOT=$(echo "$ROOTS" | head -1)
cat << EOT >> ${BUILD_DIR}/Procfile
web: ./approot/web --server.urls http://+:\$PORT
web: dnx web --server.urls http://+:\$PORT
EOT
fi
fi

0 comments on commit 4fb7e6e

Please sign in to comment.