Skip to content

Commit

Permalink
#20 Add custom cache functionality based on noCache option usage
Browse files Browse the repository at this point in the history
  • Loading branch information
tormozz48 committed Jun 26, 2015
1 parent c839c7a commit ce04cd7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions techs/borschik.js
Expand Up @@ -49,6 +49,9 @@ module.exports = require('enb/lib/build-flow').create()
.defineOption('tech', null)
.defineOption('techOptions', null)
.saver(function () {})
.isCacheValid(function () {
return !this._noCache;
})
.builder(function () {
var node = this.node,
target = node.unmaskTargetName(this._target),
Expand Down

0 comments on commit ce04cd7

Please sign in to comment.