Skip to content

Commit

Permalink
Update grunt
Browse files Browse the repository at this point in the history
  • Loading branch information
confused-Techie committed Jan 6, 2025
1 parent 5bb7659 commit f49160a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,13 @@ module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON('package.json')

coffee:
glob_to_multiple:
expand: true
cwd: 'src'
src: ['*.coffee']
dest: 'lib'
ext: '.js'

coffeelint:
options:
no_empty_param_list:
level: 'error'
max_line_length:
level: 'ignore'

src: ['src/*.coffee']
test: ['spec/*.coffee']

shell:
Expand All @@ -33,6 +24,6 @@ module.exports = (grunt) ->
grunt.loadNpmTasks('grunt-coffeelint')

grunt.registerTask 'clean', -> require('rimraf').sync('lib')
grunt.registerTask('lint', ['coffeelint:src', 'coffeelint:test'])
grunt.registerTask('lint', ['coffeelint:test'])
grunt.registerTask('default', ['lint', 'coffee'])
grunt.registerTask('test', ['default', 'shell:test'])
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "scandal",
"version": "3.2.0",
"description": "Directory Search and Scan Utilities",
"main": "./lib/scandal.js",
"main": "./src/scandal.js",
"bin": {
"scandal": "./bin/scandal"
},
Expand Down

0 comments on commit f49160a

Please sign in to comment.