diff options
author | Dan Timoney <dtimoney@att.com> | 2019-03-06 20:30:42 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-06 20:30:42 +0000 |
commit | 5219087382301e0534c4e565ca7fbad987e6d9f7 (patch) | |
tree | 8397045ed62131c2bcdf56f28c57093e6fc3b84b /sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/Gruntfile.js | |
parent | f11896c6ef3d30b61eae386e1cd842088175bc95 (diff) | |
parent | e91c316e653979d96c43fd107895be80b33832fc (diff) |
Merge "junit tests devicemanager"
Diffstat (limited to 'sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/Gruntfile.js')
-rw-r--r-- | sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/Gruntfile.js | 115 |
1 files changed, 0 insertions, 115 deletions
diff --git a/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/Gruntfile.js b/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/Gruntfile.js deleted file mode 100644 index d9607ac76..000000000 --- a/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/Gruntfile.js +++ /dev/null @@ -1,115 +0,0 @@ -module.exports = function(grunt) { - - var fileSets = require("./grunt_fileSets.js"); - - // Project configuration. - grunt.initConfig({ - clean: { - _site: { - src: ['_site'] - } - }, - concat: { - vendorjs: { - src: fileSets.vendorJs, - dest: '_site/vendor.js' - }, - vendorcss: { - src: fileSets.vendorCss, - dest: '_site/vendor.css' - }, - appjs: { - src: fileSets.srcJs, - dest: '_site/app.js' - }, - appcss: { - src: fileSets.srcCss, - dest: '_site/app.css' - } - }, - - copy: { - site_index: { - src: 'index.html', - dest: '_site/index.html', - options: { - process: function( src ) { - return src.replace(/_site\//g, ""); - } - } - }, - base: { - expand: true, - cwd: 'src/app/base/', - src: [ '*.gif', '*.png', '*.css' ], - dest: '_site/base/' - }, - iconFonts: { - expand: true, - cwd: 'src/vendor/font-awesome/fonts/', - src: '**', - dest: '_site/fonts' - }, - i18n: { - src: 'src/vendor/i18n/i18n.js', - dest: '_site/i18n.js' - }, - lang: { - expand: true, - cwd: 'src/app/lang/', - src: '**', - dest: '_site/lang/' - } - }, - - jasmine: { - task: { - src: [ fileSets.vendorJs, 'src/vendor/i18n/i18n.js', 'src/app/lang/en_strings.js', fileSets.srcJs ], - options: { - specs: 'src/app/**/*Spec.js', - helpers: 'test/spec/*Helper.js', - display: "short", - summary: true - } - } - }, - - watch: { - "scripts": { - files: ['src/**/*', 'test/spec/*' ], - tasks: ['default'], - options: { - spawn: false - } - }, - "grunt": { - files: [ 'Gruntfile.js' ] - } - }, - - connect: { - server: { - options: { - port: 9100, - base: '.', - keepalive: true - } - } - } - - }); - - grunt.loadNpmTasks('grunt-contrib-clean'); - grunt.loadNpmTasks('grunt-contrib-concat'); - grunt.loadNpmTasks('grunt-contrib-watch'); - grunt.loadNpmTasks('grunt-contrib-connect'); - grunt.loadNpmTasks('grunt-contrib-copy'); - grunt.loadNpmTasks('grunt-contrib-jasmine'); - - // Default task(s). - grunt.registerTask('default', ['clean', 'concat', 'copy', 'jasmine']); - grunt.registerTask('server', ['connect:server']); - grunt.registerTask('dev', [ 'default', 'watch' ]); - - -}; |