Projects
Eulaceura:Factory
nodejs-gaze
_service:obs_scm:Gruntfile.js
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:Gruntfile.js of Package nodejs-gaze
module.exports = function(grunt) { 'use strict'; grunt.initConfig({ benchmark: { all: { src: ['benchmarks/*.js'], options: { times: 10 } } }, nodeunit: { files: ['test/*_test.js'], }, jshint: { options: { jshintrc: '.jshintrc' }, gruntfile: { src: 'Gruntfile.js' }, lib: { src: ['lib/**/*.js'] }, test: { src: ['test/**/*_test.js'] }, }, }); // Dynamic alias task to nodeunit. Run individual tests with: grunt test:events grunt.registerTask('test', function(file) { grunt.config('nodeunit.files', String(grunt.config('nodeunit.files')).replace('*', file || '*')); grunt.task.run('nodeunit'); }); grunt.loadNpmTasks('grunt-benchmark'); grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-nodeunit'); grunt.registerTask('default', ['jshint', 'nodeunit']); };
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