Skip to content

Instantly share code, notes, and snippets.

@teliosdev
Last active August 29, 2015 14:11
Show Gist options
  • Save teliosdev/1494270313deb87f3acc to your computer and use it in GitHub Desktop.
Save teliosdev/1494270313deb87f3acc to your computer and use it in GitHub Desktop.
{
"configuration": {
"require": [
{ "header": "stdlib.h" },
{ "header": "stdint.h" },
{ "header": "stdio.h" }
]
}
}
{
"environments": {
"debug": {
"cc": "gcc"
}
}
}
{
"rules": [
{
"from": ".y",
"to": ".c",
"actions": [
{ "shell": "bison --report=all -Wall {input} -o {output}" }
]
},
{
"from": ".rl",
"to": ".c",
"actions": [
{ "shell": "ragel {input}" }
]
}
]
}
{
"tasks": {
"meme": {
"actions": [
{ "shell": "echo epic maymay" }
]
}
}
}
{
"projects": {
"my-cool-app": {
"language": "c",
"sources": [ "src/hello-world/**.c" ],
"output": { "type": "library.static", "name": "world" },
"includes": [
".take/my-cool-app/configure.json",
".take/my-cool-app/envs.json",
".take/my-cool-app/rules.json",
".take/my-cool-app/tasks.json"
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment