This commit is contained in:
Yuri Kuznetsov
2014-03-03 12:11:23 +02:00
parent 43fd0aa4f8
commit 371bba1ee8
3 changed files with 51 additions and 0 deletions
+2
View File
@@ -9,3 +9,5 @@ application/Espo/Resources/layouts/CustomTest/*
application/Espo/Modules/Crm/Resources/layouts/CustomTest/*
application/Espo/Resources/metadata/customTest/*
application/Espo/Modules/Crm/Resources/metadata/customTest/*
build
node_modules
+34
View File
@@ -0,0 +1,34 @@
module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
clean: {
build: ['build/*'],
},
copy: {
build: {
expand: true,
src: [
'api/**',
'application/**',
'data',
'vendor/**',
'bootstrap.php',
'cron.php',
'index.php',
'LICENSE.txt',
'.htaccess',
],
dest: 'build/',
},
},
});
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.registerTask('default', [
'clean',
'copy',
]);
};
+15
View File
@@ -0,0 +1,15 @@
{
"name": "espo-backend",
"version": "0.1.0",
"description": "",
"main": "index.php",
"repository": "",
"author": "",
"license": "GPL",
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-copy": "~0.4.1",
"grunt-contrib-clean": "~0.5.0",
"grunt-replace": "~0.5.1"
}
}