This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/Gruntfile.js
T
Yuri Kuznetsov 371bba1ee8 grunt
2014-03-03 12:11:23 +02:00

35 lines
549 B
JavaScript

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',
]);
};