1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/unleash-server/sql/Gruntfile.js

29 lines
708 B
JavaScript
Raw Normal View History

2014-10-20 14:11:26 +02:00
var dbPort = (process.env.BOXEN_POSTGRESQL_PORT || '5432');
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-liquibase');
grunt.initConfig({
liquibase : {
options: {
username : '',
password : '',
url : 'jdbc:postgresql://localhost:' + dbPort + '/unleash',
changeLogFile: 'db_changes/db.changelog-master.xml'
},
update: {
command: 'update'
},
dropAll: {
command: 'dropAll'
},
version : {
command: 'version'
}
}
});
grunt.registerTask('default', []);
};