build_salesforce_package
v1.41.50
Published
Build Saleforce Package to be deployed using git diff
Downloads
147
Readme
Build Salesforce Package (Digital Deer)
CLI library to build packages (based on a git Repo) and then deploy them in Salesforce
Install
sudo npm install build_salesforce_package --global
Help
Create a profile
| Options | Description | | ------ | ------ | | -k |Encryption key| | -apiV |Api version (default 39)| | -z |Zip|
build_salesforce_package settings profileName [email protected] password login.salesforce.com -k 1234
List profiles
build_salesforce_package list
Remove profile
build_salesforce_package remove profileName
Build package (Based on a git branch) | Options | Description | | ------ | ------ | | -z |Zip the package| | -apiV |Api version (default 39)| | -t |Target (to make a diff between 2 branches)| |-p|Path to the src (default src/)| |-k|Encryption key if used in the profile|
build_salesforce_package build name origin/fullsdbx --zip
Build package (Based on a diff of 2 branchs)
build_salesforce_package build profileName origin/fullsdbx -t origin/master --zip
Usage
Example (Need to be in the git repo)
$ build_salesforce_package settings profileName [email protected] password login.salesforce.com -k 1234
$ build_salesforce_package build profileName origin/fullsdbx --zip -k 1234