Update to build_cache.git commit 02de2a2
authorNick Downing <downing.nick@gmail.com>
Sat, 20 Oct 2018 03:52:49 +0000 (14:52 +1100)
committerNick Downing <nick@ndcode.org>
Tue, 30 Oct 2018 07:54:35 +0000 (18:54 +1100)
js_template.js
package.json

index 5c82ec3..d4c4923 100644 (file)
@@ -1,6 +1,6 @@
+let _BuildCache = require('BuildCache')
 let _acorn = require('./dist/acorn')
 let _astring = require('astring')
-let _BuildCache = require('build_cache')
 let _fs = require('fs')
 let _html_escape = require('html-escape')
 let _path = require('path')
@@ -10,8 +10,7 @@ let _util = require('util')
 
 let _fs_readFile = _util.promisify(_fs.readFile)
 
-let _build_cache = new _BuildCache()
-_build_cache.diag = true
+let _build_cache = new _BuildCache(true)
 let _js_template = async (_root, _dir, _name) => {
   while (_name.charAt(0) === '/') {
     _dir = _root
index ed129f6..99f2863 100644 (file)
@@ -32,8 +32,8 @@
     "prepare": "cd ..; npm run build:main && npm run build:bin"
   },
   "dependencies": {
+    "BuildCache": "file:/home/nick/src/build_cache.git/BuildCache-1.0.0.tgz",
     "astring": "^1.3.1",
-    "build_cache": "file:/home/nick/src/build_cache.git/build_cache-1.0.0.tgz",
     "html-escape": "^2.0.0"
   }
 }