Projects
Eulaceura:Factory
nodejs-grunt-contrib-watch
_service:obs_scm:Gruntfile-0.6.1.js
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:Gruntfile-0.6.1.js of Package nodejs-grunt-contrib-watch
/* * grunt-contrib-watch * http://gruntjs.com/ * * Copyright (c) 2014 "Cowboy" Ben Alman, contributors * Licensed under the MIT license. */ 'use strict'; module.exports = function(grunt) { grunt.initConfig({ jshint: { all: [ 'Gruntfile.js', 'tasks/**/*.js', '<%= nodeunit.tests %>', ], options: { jshintrc: '.jshintrc', }, }, watch: { all: { files: ['<%= jshint.all %>'], tasks: ['jshint', 'nodeunit'], }, }, nodeunit: { tests: ['test/tasks/*_test.js'], }, }); // Dynamic alias task to nodeunit. Run individual tests with: grunt test:events grunt.registerTask('test', function(file) { grunt.config('nodeunit.tests', String(grunt.config('nodeunit.tests')).replace('*', file || '*')); grunt.task.run('nodeunit'); }); grunt.loadTasks('tasks'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-nodeunit'); grunt.loadNpmTasks('grunt-contrib-internal'); grunt.registerTask('default', ['jshint', 'nodeunit', 'build-contrib']); };
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2