A node wrapper for DORA, the Domino On-Disk Repository Assistant, by Cameron Gregor.
npm install --save node-dora
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.
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!
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request 😁
Thanks goes to these wonderful people (emoji key):
Eric McCormick 📝 💻 📖 🔧 📹 |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!
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.
- Cameron Gregor, for DORA, which this is a wrapper for
MIT