Sha256: bd8f238efc2174a5b376210a29e1a27aa77e44c4f537d5d962ebb5b64ad0e1bd

Contents?: true

Size: 1.19 KB

Versions: 2

Compression:

Stored size: 1.19 KB

Contents

# Dcgen

dcgen is a simple tool that generates a destructiveChanges.xml by comparing
two salesforce source directories. 

A typical usage example is if you use an SCM to manage your salesforce code and
metadata. You can compare your repository contents against what is in a sandbox. 
Any element that is in you sandbox but is not on your SCM will be included in the
destructiveChange.xml.

## Installation

```
# gem install salesforce-dcgen
```
## Usage

To get destructiveChanges.xml between two directories just run:

```
$ dcgen -m dir/to/scm/repo -d dir/to/sandbox/source/code
```

## Metadata API supported:

At the moment the following metadata is supported:

ApexClass
ApexPage
ApexTrigger
ApexComponent
ApprovalProcess
CustomField
Group
PermissionSet
WorkflowRule
Labels
Workflow field update
Layouts
CustomObjects
ValidationRules

More to come...

Checkout the code, at the moment is VERY easy to add more metadata

## Contributing

1. Fork it ( https://github.com/[my-github-username]/dcgen/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
salesforce-dcgen-0.8.0 README.md
salesforce-dcgen-0.7.0 README.md