fliphub-monorepo
Version:
the builder of builders
14 lines (12 loc) • 417 B
JavaScript
const is = require('izz')
const {AbstractWorkflow} = require('fliphub-core')
const Context = require('./Context')
const CoreConfig = require('./configs/Core')
module.exports = class Workflow extends AbstractWorkflow {
constructor(core, config) {
const coreConfig = new CoreConfig(core)
super(core, coreConfig)
this.root = config.root
this.contextsFrom = this.contextsFrom.bind(this, Context)
}
}