Skip to main content

build

Build the project and make it ready for deployment.

archibald build|b [options]

Options

OptionInteractiveDescription
-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:
  • development
  • production
-n, --native [native]Specify native platform to build the project with. Possible values:
  • ios
  • android
-r, --run✔️Run the server after the build. Default: false.
-o, --open [open]Open the browser after build. Default: true.
-c, --clientBuild only client. Default: false.
-s, --serverBuild only server. Default: false.
-pl, --parallelBuild 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, --versionSpecify 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, --hashProvide 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, --vercelBuild Application for Vercel Environments.
-i, --ide [ide]Open the according ide.
-b, --branch [branch]Branch which should be used.
-sl, --sslServe application over HTTPS protocol.
-ins, --instrumentInstruments the code for code coverage analyze. Default: false
-q, --quietDon't use interactive cli and run the command with default options. Default: false.
-h, --helpShow help commands.

Native Options

Following options are available in combination with the --native|-n command

OptionDescription
-pr, --profile [profile]Specify profile to use. Default: development Possible values:
  • development
  • preview
  • production
-ul, --uploadUpload the local build to the eas servers. Default: false.
-eas, --easBuild on the eas infrastructure. Default: false.
-l, --localBuild an eas build but local, needs to be used in combination with --eas. Default: false.
-u, --updateOnly build the JS part in the form of an update. Default: false.
-ppo, --prepare-onlyOnly call prepare functions which set env and update eas.json if necessary. Default: false.
-pbo, --prebuild-onlyDo not execute the final eas/expo command, only prebuild should happen. Default: false.
-pb, --prebuildSpecify if expo should call prebuild. Default: false.
-js, --js-onlyOnly export the JS parts, same as --update just without the update upload. Default: false.
-as, --auto-submitSubmit 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:
  • development
  • preview
  • production
-clr, --clearClear the native cache. Default: false.
-d, --deviceDo a local build with a device selection where to install it too. Default: false.
-ch, --channelDefine the name of the channel to update to.
-msg, --messageProvide a message for the update.
-auto, --autoWhen using update the auto flag takes branch name and message from git. Default: false.