不要怂,就是干,撸起袖子干!

Commit 4ee4558d by Sascha Depold

removed debugging

1 parent 20e8e2d5
Showing with 0 additions and 5 deletions
...@@ -145,13 +145,9 @@ describe(Support.getTestDialectTeaser("Executable"), function() { ...@@ -145,13 +145,9 @@ describe(Support.getTestDialectTeaser("Executable"), function() {
flags.forEach(function(flag) { flags.forEach(function(flag) {
var prepare = function(callback) { var prepare = function(callback) {
exec("rm -rf ./*", { cwd: __dirname + '/tmp' }, function(error, stdout) { exec("rm -rf ./*", { cwd: __dirname + '/tmp' }, function(error, stdout) {
console.log(error, stdout)
exec("../../bin/sequelize --init", { cwd: __dirname + '/tmp' }, function(error, stdout) { exec("../../bin/sequelize --init", { cwd: __dirname + '/tmp' }, function(error, stdout) {
console.log(error, stdout)
exec("cp ../assets/migrations/*-createPerson.js ./migrations/", { cwd: __dirname + '/tmp' }, function(error, stdout) { exec("cp ../assets/migrations/*-createPerson.js ./migrations/", { cwd: __dirname + '/tmp' }, function(error, stdout) {
console.log(error, stdout)
exec("cat ../support.js|sed s,/../,/../../, > ./support.js", { cwd: __dirname + '/tmp' }, function(error, stdout) { exec("cat ../support.js|sed s,/../,/../../, > ./support.js", { cwd: __dirname + '/tmp' }, function(error, stdout) {
console.log(error, stdout)
var dialect = Support.getTestDialect() var dialect = Support.getTestDialect()
, config = require(__dirname + '/config/config.js') , config = require(__dirname + '/config/config.js')
...@@ -159,7 +155,6 @@ describe(Support.getTestDialectTeaser("Executable"), function() { ...@@ -159,7 +155,6 @@ describe(Support.getTestDialectTeaser("Executable"), function() {
config = _.extend(config, config[dialect], { dialect: dialect }) config = _.extend(config, config[dialect], { dialect: dialect })
exec("echo '" + JSON.stringify(config) + "' > config/config.json", { cwd: __dirname + '/tmp' }, function(error, stdout) { exec("echo '" + JSON.stringify(config) + "' > config/config.json", { cwd: __dirname + '/tmp' }, function(error, stdout) {
console.log(error, stdout)
exec("../../bin/sequelize " + flag, { cwd: __dirname + "/tmp" }, callback) exec("../../bin/sequelize " + flag, { cwd: __dirname + "/tmp" }, callback)
}) })
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!