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
Copy file name to clipboardexpand all lines: docs/cli.md
+30-31
Original file line number
Diff line number
Diff line change
@@ -869,17 +869,16 @@ See [Modular resources](/registry/) for a conceptual overview of modules and the
869
869
870
870
##### Using the `build` subcommand
871
871
872
-
You can use the `module build start` or `module build local` commands to build your custom module according to the build steps you specify in your <file>meta.json</file> file:
872
+
You can use the `module build start` or `module build local` commands to build your custom module according to the build steps in your <file>meta.json</file> file:
873
873
874
-
- Use `build start` to build or compile your module on a cloud build host that might offer additional platform support than you have access to locally.
874
+
- Use `build start` to build or compile your module on a cloud build host that might offer more platform support than you have access to locally.
875
875
- Use `build local` to quickly test that your module builds or compiles as expected on your local hardware.
876
876
877
-
To configure your module's build steps, add a `build` object to your [`meta.json` file](#the-metajson-file) like the following:
877
+
To configure your module's build steps, add a `build` object to your [`meta.json` file](#the-metajson-file) like the following.
878
+
You can either have a single build file for all platforms, or platform specific files.
878
879
879
-
<!-- Developers can either have a single build file for all platforms, or platform specific files: -->
tar -czvf dist/archive.tar.gz <PATH-TO-EXECUTABLE>
1003
1005
```
1004
1006
1005
-
{ {% /expand%}}
1006
-
1007
-
{{ % /tab %}}
1008
-
{ {< /tabs >}} -->
1007
+
{{% /expand%}}
1009
1008
1010
1009
For example, the following extends the `my-module` <file>meta.json</file> file from the previous section using the single build file approach, adding a new `build` object to control its build parameters when used with `module build start` or `module build local`:
0 commit comments