new testing variable

This commit is contained in:
bingus_violet 2024-07-04 19:58:03 -05:00
parent 2151a8eec3
commit 400535186d
2 changed files with 4 additions and 1 deletions

View file

@ -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",

View file

@ -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]