]> gerrit.simantics Code Review - simantics/district.git/blob - index.js
435131f3a6d1e23df8accef9d699998768a614e8
[simantics/district.git] / index.js
1 var pz = require('../promzard')
2
3 var path = require('path')
4 var file = path.resolve(__dirname, 'substack-input.js')
5 var ctx = { basename: path.basename(path.dirname(file)) }
6
7 pz(file, ctx, function (er, res) {
8   if (er)
9     throw er
10   console.error(JSON.stringify(res, null, 2))
11 })