mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
29 lines
708 B
JavaScript
29 lines
708 B
JavaScript
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', []);
|
|
};
|
|
|