Skip to content

Commit bf52169

Browse files
fix on builds
1 parent a21142c commit bf52169

File tree

2 files changed

+30
-41
lines changed

2 files changed

+30
-41
lines changed

build/amalgamation_build.lua

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,15 @@ function amalgamation_build()
4646
)
4747

4848

49-
only_definition = '#include "doTheWorld.h"\n' .. only_definition
5049

51-
only_definition = lincense .. only_definition
5250

53-
darwin.dtw.write_file("release/doTheWorld.c", only_definition)
5451

5552
os.execute("zip -r release/doTheWorld.zip dependencies src build")
5653
end
5754

5855
darwin.add_recipe({
5956
name="amalgamation_build",
6057
description="make a amalgamation files and a zip",
61-
outs={"release/doTheWorld.c", "release/doTheWorld.h", "release/doTheWorldOne.c", "release/doTheWorld.zip"},
58+
outs={"release/doTheWorld.h", "release/doTheWorldOne.c", "release/doTheWorld.zip"},
6259
callback=amalgamation_build
6360
})

darwindeps.json

Lines changed: 29 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,29 @@
1-
[
2-
{
3-
"type": "url",
4-
"url": "https://raw.githubusercontent.com/DaveGamble/cJSON/refs/tags/v1.7.18/cJSON.c",
5-
"dest": "dependencies/cJSON.c"
6-
},
7-
{
8-
"type": "url",
9-
"url": "https://raw.githubusercontent.com/DaveGamble/cJSON/refs/tags/v1.7.18/cJSON.h",
10-
"dest": "dependencies/cJSON.h"
11-
},
12-
{
13-
"type": "url",
14-
"url": "https://raw.githubusercontent.com/amosnier/sha-2/565f65009bdd98267361b17d50cddd7c9beb3e6c/sha-256.c",
15-
"dest": "dependencies/sha-256.c"
16-
},
17-
{
18-
"type": "url",
19-
"url": "https://raw.githubusercontent.com/amosnier/sha-2/565f65009bdd98267361b17d50cddd7c9beb3e6c/sha-256.h",
20-
"dest": "dependencies/sha-256.h"
21-
},
22-
{
23-
"type": "url",
24-
"url": "https://github.com/OUIsolutions/CHashManipulator/releases/download/0.001/CHashManipulator.h",
25-
"dest": "dependencies/CHashManipulator.h"
26-
},
27-
{
28-
"type": "url",
29-
"url": "https://raw.githubusercontent.com/kokke/tiny-AES-c/refs/tags/v1.0.0/aes.c",
30-
"dest": "dependencies/aes.c"
31-
},
32-
{
33-
"type": "url",
34-
"url": "https://raw.githubusercontent.com/kokke/tiny-AES-c/refs/tags/v1.0.0/aes.h",
35-
"dest": "dependencies/aes.h"
36-
}
37-
]
1+
[{
2+
"dest": "dependencies/cJSON.c",
3+
"type": "url",
4+
"url": "https://raw.githubusercontent.com/DaveGamble/cJSON/refs/tags/v1.7.18/cJSON.c"
5+
}, {
6+
"dest": "dependencies/cJSON.h",
7+
"type": "url",
8+
"url": "https://raw.githubusercontent.com/DaveGamble/cJSON/refs/tags/v1.7.18/cJSON.h"
9+
}, {
10+
"dest": "dependencies/sha-256.c",
11+
"type": "url",
12+
"url": "https://raw.githubusercontent.com/amosnier/sha-2/565f65009bdd98267361b17d50cddd7c9beb3e6c/sha-256.c"
13+
}, {
14+
"dest": "dependencies/sha-256.h",
15+
"type": "url",
16+
"url": "https://raw.githubusercontent.com/amosnier/sha-2/565f65009bdd98267361b17d50cddd7c9beb3e6c/sha-256.h"
17+
}, {
18+
"dest": "dependencies/CHashManipulator.h",
19+
"type": "url",
20+
"url": "https://github.com/OUIsolutions/CHashManipulator/releases/download/0.001/CHashManipulator.h"
21+
}, {
22+
"dest": "dependencies/aes.c",
23+
"type": "url",
24+
"url": "https://raw.githubusercontent.com/kokke/tiny-AES-c/refs/tags/v1.0.0/aes.c"
25+
}, {
26+
"dest": "dependencies/aes.h",
27+
"type": "url",
28+
"url": "https://raw.githubusercontent.com/kokke/tiny-AES-c/refs/tags/v1.0.0/aes.h"
29+
}]

0 commit comments

Comments
 (0)