node-dora
v1.0.2
Published
a node module wrapper for dora
Downloads
27
Maintainers
Readme
node-dora
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
- 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 😁
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