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
- Host: GitHub
- URL: https://github.com/jlong/hello-c
- Owner: jlong
- License: mit
- Created: 2016-10-04T14:21:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-09-28T20:13:06.000Z (over 5 years ago)
- Last Synced: 2025-03-31T08:43:24.945Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`).