new testing variable
This commit is contained in:
parent
2151a8eec3
commit
400535186d
2 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,8 @@
|
|||
"description": "Violets Purgatory is a personal webapp for",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node index.js"
|
||||
"start": "node index.js",
|
||||
"test": "node index.js test"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -25,6 +25,8 @@ var pregenFiles = []
|
|||
|
||||
var javascriptCache = {}
|
||||
|
||||
var testing = process.argv[2] == "test"
|
||||
|
||||
var globResult = glob.globSync("**/static/**/*.html", { absolute: true })
|
||||
for (var i = 0; i < globResult.length; i++) {
|
||||
var result = globResult[i]
|
||||
|
|
Loading…
Reference in a new issue