This commit is contained in:
Henry Oswald 2014-10-17 10:22:27 +01:00
commit ce8c6d824d
4 changed files with 17 additions and 13 deletions

View file

@ -50,6 +50,7 @@ resCacher =
body:{} body:{}
setContentType:"application/json" setContentType:"application/json"
if Settings.smokeTest
do runSmokeTest = -> do runSmokeTest = ->
logger.log("running smoke tests") logger.log("running smoke tests")
smokeTest.run(require.resolve(__dirname + "/test/smoke/js/SmokeTests.js"))({}, resCacher) smokeTest.run(require.resolve(__dirname + "/test/smoke/js/SmokeTests.js"))({}, resCacher)

View file

@ -11,7 +11,6 @@ module.exports =
dialect: "sqlite" dialect: "sqlite"
storage: Path.resolve(__dirname + "/../db.sqlite") storage: Path.resolve(__dirname + "/../db.sqlite")
path: path:
compilesDir: Path.resolve(__dirname + "/../compiles") compilesDir: Path.resolve(__dirname + "/../compiles")
clsiCacheDir: Path.resolve(__dirname + "/../cache") clsiCacheDir: Path.resolve(__dirname + "/../cache")
@ -37,4 +36,4 @@ module.exports =
clsi: clsi:
url: "http://localhost:3013" url: "http://localhost:3013"
smokeTest: false

View file

@ -1,7 +1,11 @@
{ {
"name": "node-clsi", "name": "node-clsi",
"description": "A Node.js implementation of the CLSI LaTeX web-API", "description": "A Node.js implementation of the CLSI LaTeX web-API",
"version": "0.0.1-dev", "version": "0.1.1",
"repository": {
"type": "git",
"url": "https://github.com/sharelatex/clsi-sharelatex.git"
},
"author": "James Allen <james@sharelatex.com>", "author": "James Allen <james@sharelatex.com>",
"dependencies": { "dependencies": {
"async": "0.2.9", "async": "0.2.9",
@ -9,12 +13,12 @@
"mkdirp": "0.3.5", "mkdirp": "0.3.5",
"mysql": "2.0.0-alpha7", "mysql": "2.0.0-alpha7",
"request": "~2.21.0", "request": "~2.21.0",
"logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#master", "logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#v1.0.0",
"settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#master", "settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
"metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#master", "metrics-sharelatex": "git+https://github.com/sharelatex/metrics-sharelatex.git#v1.0.0",
"sequelize": "~2.0.0-beta.2", "sequelize": "2.0.0-beta.2",
"wrench": "~1.5.4", "wrench": "~1.5.4",
"smoke-test-sharelatex": "git+https://github.com/sharelatex/smoke-test-sharelatex.git#master", "smoke-test-sharelatex": "git+https://github.com/sharelatex/smoke-test-sharelatex.git#v1.0.0",
"sqlite3": "~2.2.0", "sqlite3": "~2.2.0",
"express": "^4.2.0", "express": "^4.2.0",
"body-parser": "^1.2.0" "body-parser": "^1.2.0"