node-dora

1.0.2 • Public • Published

node-dora

All Contributors Dependency Status NPM version

A node wrapper for DORA, the Domino On-Disk Repository Assistant, by Cameron Gregor.

Installation

npm install --save node-dora

From Source

  • git clone --recursive https://github.com/edm00se/node-dora.git
  • cd node-dora
  • npm install

To hook to your cloned copy to your global npm_modules, run npm link from within the project directory's root.

Use

const dora = require('node-dora');
const path = require('path');
 
const odp = path.join(__dirname, 'Some ODP');
dora.performFilter(odp, function(er){
    if(er){
        console.error(er);
    }
    console.log('dora done!');
});

There are some other functions exposed, but are mainly for internal purposes. The full list of functions exposed are:

  • hasDependencies
  • installDependencies
  • hasXsltProc
  • installXsltProc
  • performFilter <- this is what you want!

Contributing

  1. Fork it!
  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. Submit a pull request 😁

Contributors

Thanks goes to these wonderful people (emoji key):


Eric McCormick

📝 💻 📖 🔧 📹

This project follows the all-contributors specification. Contributions of any kind welcome!

History

Cameron Gregor created DORA which is great, but then he made Swiper. Swiper is also great, but doesn't (yet) work with Domino Designer when it does not have Build Automatically enabled.

Being concerned about both this one limitation and my ability to use DORA in a CI environment, I wrote a Grunt config, which is now being replaced by the CLI tool for this package.

Credits

  • Cameron Gregor, for DORA, which this is a wrapper for

Related

License

MIT

Package Sidebar

Install

npm i node-dora

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • edm00se