Skip to content

Commit

Permalink
Redesign cupcake.json
Browse files Browse the repository at this point in the history
  • Loading branch information
thejohnfreeman committed Feb 20, 2024
1 parent 975733d commit 7b60932
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 29 deletions.
49 changes: 21 additions & 28 deletions 10-special/cupcake.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,25 @@
{
"groups": {
"main": {
"imports": [
{
"name": "zero",
"file": "zero",
"targets": ["zero::libzero"]
}
],
"libraries": [
{ "name": "ten", "links": ["${PROJECT_NAME}.imports.main"] }
],
"executables": [
{ "name": "ten", "links": ["ten.libten"] }
]
"imports": [
{
"name": "zero",
"file": "zero",
"targets": ["zero::libzero"]
},
"test": {
"imports": [
{
"name": "doctest",
"file": "doctest",
"targets": ["doctest::doctest"]
}
],
"tests": [
{ "name": "ten", "links": ["ten.imports.test", "ten.libten"] },
{ "name": "boolean", "links": ["ten.imports.test", "ten.libten"] }
]
{
"name": "doctest",
"file": "doctest",
"targets": ["doctest::doctest"],
"groups": ["test"]
}
}
],
"libraries": [
{ "name": "ten", "links": ["${PROJECT_NAME}.imports.main"] }
],
"executables": [
{ "name": "ten", "links": ["ten.libten"] }
],
"tests": [
{ "name": "ten", "links": ["ten.imports.test", "ten.libten"] },
{ "name": "boolean", "links": ["ten.imports.test", "ten.libten"] }
]
}
2 changes: 1 addition & 1 deletion cupcake

0 comments on commit 7b60932

Please sign in to comment.