build
Build the project and make it ready for deployment.
archibald build|b [options]
Options
| Option | Interactive | Description |
|---|---|---|
-e, --environment [environment] | ✔️ | Specify environment to use. Environments are configured in Archibald config under project/environments property. |
-t, --tenant [tenant] | ✔️ | Specify tenant to use. Tenants are configured in Archibald config under project/tenants property. |
-p, --platform [platform] | ✔️ | Specify platform to use. Platforms are configured in Archibald config under project/platforms property. |
-po, --platformOverride [platform] | Specify override platform to use. Platforms are configured in Archibald config under project/platforms property. | |
-m, --mode [mode] | ✔️ | Specify compile mode to use. Possible values:
|
-n, --native [native] | Specify native platform to build the project with. Possible values:
| |
-r, --run | ✔️ | Run the server after the build. Default: false. |
-o, --open [open] | Open the browser after build. Default: true. | |
-c, --client | Build only client. Default: false. | |
-s, --server | Build only server. Default: false. | |
-pl, --parallel | Build in parallel structure. Default: false. | |
-a, --analyze [target] | Create a visualization of the build via Rsdoctor. Accepts client, server, ci or doctor. Default: false. | |
-v, --version | Specify version to build with. That will be bundled and the artifact identifies itself with that version. Falls back to the ARC_BUILD_VERSION env var (set by CI), then to develop-SNAPSHOT. | |
-hs, --hash | Provide a hash to build with. That will be bundled and the artifact identifies itself with that hash. Falls back to the ARC_BUILD_HASH env var (set by CI). | |
-vrcl, --vercel | Build Application for Vercel Environments. | |
-i, --ide [ide] | Open the according ide. | |
-b, --branch [branch] | Branch which should be used. | |
-sl, --ssl | Serve application over HTTPS protocol. | |
-ins, --instrument | Instruments the code for code coverage analyze. Default: false | |
-q, --quiet | Don't use interactive cli and run the command with default options. Default: false. | |
-h, --help | Show help commands. |
Native Options
Following options are available in combination with the --native|-n command
| Option | Description |
|---|---|
-pr, --profile [profile] | Specify profile to use. Default: development Possible values:
|
-ul, --upload | Upload the local build to the eas servers. Default: false. |
-eas, --eas | Build on the eas infrastructure. Default: false. |
-l, --local | Build an eas build but local, needs to be used in combination with --eas. Default: false. |
-u, --update | Only build the JS part in the form of an update. Default: false. |
-ppo, --prepare-only | Only call prepare functions which set env and update eas.json if necessary. Default: false. |
-pbo, --prebuild-only | Do not execute the final eas/expo command, only prebuild should happen. Default: false. |
-pb, --prebuild | Specify if expo should call prebuild. Default: false. |
-js, --js-only | Only export the JS parts, same as --update just without the update upload. Default: false. |
-as, --auto-submit | Submit after successfully build to app stores with default profile. Default: production. |
-asp, --auto-submit-with-profile [profile] | Submit after successfully build to app stores with set profile. Default: production Possible values:
|
-clr, --clear | Clear the native cache. Default: false. |
-d, --device | Do a local build with a device selection where to install it too. Default: false. |
-ch, --channel | Define the name of the channel to update to. |
-msg, --message | Provide a message for the update. |
-auto, --auto | When using update the auto flag takes branch name and message from git. Default: false. |