Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 762 Bytes

readme.md

File metadata and controls

27 lines (18 loc) · 762 Bytes

Heroku Buildpack: C

Use C-Buildpack if you need Heroku to execute a C application.

Usage

NOTE: The C app being deployed with this buildpack needs a makefile that will specify the build rules of the project.


$> heroku create myapp_name -s cedar
$> heroku config:add BUILDPACK_URL=https://github.com/atris/heroku-buildpack-C.git

create your app, see test-app for an example

$> git push heroku master


-----> Heroku receiving push
-----> Fetching custom git buildpack... done
-----> C app detected
-----> makefile found
gcc -o greesc1 greesc1.c
-----> Compilation done
-----> Discovering process types
Procfile declares types -> (none)
-----> Compiled slug size: 4K
-----> Launching... done, v9