UNPKG

hae-uitest

Version:

A UI Test Framework for Huawei HAE

37 lines (33 loc) 772 B
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), destPath: 'release/npm/node_modules/<%= pkg.name %>', copy: { main: { files: [ {expand: true, src: [ 'bin/**', 'demo/**', 'docs/**', 'lib/**', 'node_modules/**', 'server/**', 'templates/**', 'test/**', 'webdriver/**', 'wts', 'logs', 'reports', 'screenshots', '*.*', '!Gruntfile.js', '!npm-debug.log' ], dest: '<%= destPath %>'}, ], }, }, }); grunt.loadNpmTasks('grunt-contrib-copy'); // the default task can be run just by typing "grunt" on the command line grunt.registerTask('default', ['copy']); };