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
Taras Machyshyn 02f7d5ff6e added to Gruntfile
2014-03-28 17:41:00 +02:00

39 lines
620 B
JavaScript

module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
clean: {
build: ['build/*'],
},
copy: {
build: {
expand: true,
dot: true,
src: [
'api/**',
'application/**',
'custom/**',
'data',
'install/**',
'vendor/**',
'bootstrap.php',
'cron.php',
'index.php',
'LICENSE.txt',
'.htaccess',
'Web.config',
],
dest: 'build/',
},
},
});
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.registerTask('default', [
'clean',
'copy',
]);
};