An open API service indexing awesome lists of open source software.

https://github.com/jlong/hello-c

Canonical hello world program in C
https://github.com/jlong/hello-c

Last synced: about 1 year ago
JSON representation

Canonical hello world program in C

Awesome Lists containing this project

README

          

# Hello

Canonical hello world program in C. Also wired up for testing Jenkins.

# Building

To build the `hello` executable, run:

make hello

You will need to have `gcc` installed. On a Mac, you can ensure `gcc` is installed with `xcode-select --install`.

# Tests

To run tests, use make:

make tests

Tests are written in [Bats](https://github.com/sstephenson/bats). On a Mac the easiest way to get Bats is to use Hombrew (`brew install bats`).