Browse Source

core: Fix script config errors

Buildbot was not compiling scripts (sequelize and node prepare.js) becouse there was a bugs.
This commit fixes it.
tags/v0.0.41
Kamil Biały 2 years ago
parent
commit
428cb58bd4
2 changed files with 7 additions and 4 deletions
  1. +4
    -4
      .sequelizerc
  2. +3
    -0
      prepare.js

+ 4
- 4
.sequelizerc View File

@@ -16,8 +16,8 @@
const path = require( "path" );

module.exports = {
config: path.resolve( "schema", "config.js" ),
models-path: path.resolve( "schema", "models" ),
seeders-path: path.resolve( "schema", "sample" ),
migrations-path: path.resolve( "schema", "migrations" )
"config": path.resolve( "schema", "config.js" ),
"models-path": path.resolve( "schema", "models" ),
"seeders-path": path.resolve( "schema", "sample" ),
"migrations-path": path.resolve( "schema", "migrations" )
}

+ 3
- 0
prepare.js View File

@@ -70,3 +70,6 @@ copyfiles([
], true, () => {
console.log("Skopiowano skrytpy.");
});

// zakończ skrypt
process.exit();

Loading…
Cancel
Save