Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
GitBook: [#2] Adding support for multi config files
Browse files Browse the repository at this point in the history
  • Loading branch information
azlam authored and gitbook-bot committed Aug 10, 2022
1 parent 76c8424 commit 2127c76
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions sfpowerscripts/orchestrator/build-and-quick-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,20 @@ Utilize the .NEXT and .LATEST for versioning the build number of unlocked packag
## **Ignoring Packages from being built**

Using the `ignoreOnStage:[ "build" ]` property on a package, causes the particular package to be skipped by the **build** command. Similarly you can use `ignoreOnStage:[ "quickbuild" ]` to skip packages in the quickbuild stage.

## **Using multiple scratch org config files**

Allow user to specify a set of different scratch org config files for different packages. when the feature is enabled and the package name can be found, the build command will use specified config file for that package.

```
"plugins": {
"sfpowerscripts":{
"scratchOrgDefFilePaths":{
"enableMultiDefinitionFiles": true,
"packages": {
"crm-core":"scratchOrgDef/crm-core-def.json"
}
}
}
}
```

0 comments on commit 2127c76

Please sign in to comment.