Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jobinrjohnson/heroku-buildpack-qsim
jobinrjohnson/qsim build pack for heroku
https://github.com/jobinrjohnson/heroku-buildpack-qsim
c-plus-plus cmake gsl heroku-buildpack python shell-script
Last synced: 3 months ago
JSON representation
jobinrjohnson/qsim build pack for heroku
- Host: GitHub
- URL: https://github.com/jobinrjohnson/heroku-buildpack-qsim
- Owner: jobinrjohnson
- Created: 2019-05-02T04:13:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-05T23:51:44.000Z (over 5 years ago)
- Last Synced: 2024-04-27T20:37:38.246Z (7 months ago)
- Topics: c-plus-plus, cmake, gsl, heroku-buildpack, python, shell-script
- Language: Shell
- Homepage: https://github.com/jobinrjohnson/qsim
- Size: 14.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Heroku buildpack: C
===================This is a [Heroku buildpack](http://devcenter.heroku.com/articles/buildpacks) for C apps.
It uses [Make](http://www.gnu.org/software/make/).Usage
-----Example usage:
$ ls
configure Makefile myapp.c$ heroku create --stack cedar --buildpack http://github.com/heroku/heroku-buildpack-c.git
$ git push heroku master
...
-----> Heroku receiving push
-----> Fetching custom buildpack
-----> C app detected
-----> Configuring
Looking for somelibrary… ok
-----> Compiling with Make
gcc -o myapp myapp.cThe buildpack will detect your app as C if it has the file `Makefile` in the root. It will run a `configure` script if it exists in the root of the repository. It will then run `make` to compile the app.
Hacking
-------To use this buildpack, fork it on Github. Push up changes to your fork, then create a test app with `--buildpack ` and push to it.
For example, you can run `autogen.sh` if it exists.
Open `bin/compile` in your editor, and add the following lines above the configure step:
if [ -f autogen.sh ]; then
echo "-----> Running autogen.sh"
./autogen.sh 2>&1 | indent
fiCommit and push the changes to your buildpack to your Github fork, then push your sample app to Heroku to test. You should see:
-----> Running autogen.sh