Sha256: 4e6287b93c8933543c0085b7c185cfe09354dba097ae6151e443ebc6b97474eb

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 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
ApprovalProcess
CustomField
Group
PermissionSet
WorkflowRule
Labels
Workflow field update
Layouts
CustomObjects

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.5.0 README.md
salesforce-dcgen-0.4.0 README.md