You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing Darwin, run the following command to install project dependencies:
15
+
```bash
12
16
darwin install
13
17
```
14
18
@@ -21,17 +25,27 @@ darwin run_blueprint build/ --mode folder local_build
21
25
\```
22
26
```
23
27
24
-
### Full Build from Docker or Podman
25
-
You must have podman or docker installed on your machine to build in these way, you can set what you want to use on the [build/config.lua](/build/config.lua) file.
28
+
### Building the Project
26
29
27
-
if you want to make a full build to all platforms you can use the following command, it will create the following files:
30
+
To build all targets, use the following command:
28
31
```bash
29
-
darwin run_blueprint --target amalgamation zip
32
+
darwin run_blueprint --target all
30
33
```
31
34
32
-
Output files:
33
-
- release/CWebStudioFirmware.c
34
-
- release/CWebStudioFirmware.zip
35
+
Alternatively, you can build specific targets by providing their names (following the recipes in the darwinconf.lua file):
36
+
```bash
37
+
darwin run_blueprint --target amalgamation
38
+
darwin run_blueprint --target zip
39
+
```
40
+
41
+
Available targets:
42
+
-**amalgamation**: Creates a single amalgamated C file at `release/CWebStudioFirmware.c`
43
+
-**zip**: Creates a zip archive at `release/CWebStudioFirmware.zip` containing dependencies, docs, build, and src folders
44
+
45
+
You can also build multiple specific targets at once:
46
+
```bash
47
+
darwin run_blueprint --target amalgamation zip
48
+
```
35
49
36
50
### Build Configurations
37
51
All build configurations are in the **build/config.lua** file.
0 commit comments