Run custom commands during the build process.
This buildpack allows to execute arbitrary commands on the build dyno during the build process.
Just create the file
.heroku/run.sh in the root directory of your application and write in this file the commands that you want to execute. This file is then ran in subshell by the
compile script of this buildpack. That is, the commands in
.heroku/run.sh are executed on the build dyno as they would be part of the
Available build-specific variables are
The initial working directory is the root directory of your application(BUILD_DIR).
# Create file '.heroku/run.sh' containing bash commands echo 'echo "hello world"' >.heroku/run.sh heroku buildpacks:set https://github.com/niteoweb/heroku-buildpack-shell.git
Licensed under the MIT License. See LICENSE.md file.
Copy the snippet above into CLI.