Skip to content

Commit

Permalink
Moved to Grunt
Browse files Browse the repository at this point in the history
  • Loading branch information
Dremora committed Jun 10, 2013
1 parent ddd2150 commit 5d5d4be
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 13 deletions.
20 changes: 20 additions & 0 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = (grunt) ->

grunt.initConfig(
pkg: grunt.file.readJSON('package.json')

coffee:
compile:
files:
'barcode.js': 'barcode.coffee'

uglify:
build:
src: 'barcode.js'
dest: 'barcode-min.js'
)

grunt.loadNpmTasks('grunt-contrib-uglify')
grunt.loadNpmTasks('grunt-contrib-coffee')

grunt.registerTask('default', ['coffee', 'uglify'])
5 changes: 0 additions & 5 deletions Makefile

This file was deleted.

3 changes: 1 addition & 2 deletions barcode-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions barcode.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
"version": "0.1.0",
"author": "Kirill Korolyov <[email protected]>",
"repository": {
"type": "git"
, "url": "https://github.com/Dremora/barcode-lookup.git"
"type": "git",
"url": "https://github.com/Dremora/barcode-lookup.git"
},
"devDependencies": {
"coffee-script": "~1.3.3"
, "uglify-js": "~1.2.6"
"grunt": "~0.4.1",
"grunt-contrib-coffee": "~0.7.0",
"grunt-contrib-uglify": "~0.2.2"
}
}

0 comments on commit 5d5d4be

Please sign in to comment.