Skip to content

Commit

Permalink
gulp-bump for auto versionning
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-t committed Jul 15, 2015
1 parent 291bef5 commit 66df15a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
12 changes: 8 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "chocolat",
"version": "0.4.6",
"version": "0.4.7",
"main": [
"css/chocolat.css",
"js/jquery.chocolat.js"
],
"license" : "CC-BY-2.0",
"license": "CC-BY-2.0",
"dependencies": {
"jquery": "~1.8.2"
},
Expand All @@ -18,9 +18,13 @@
"gulp-util": "^3.0.6"
},
"authors": [
{ "name": "Nicolas Turlais", "email": "nicolas@insipi.de"," homepage": "http://nicolasturlais.com" }
{
"name": "Nicolas Turlais",
"email": "nicolas@insipi.de",
" homepage": "http://nicolasturlais.com"
}
],
"homepage" : "http://chocolat.insipi.de",
"homepage": "http://chocolat.insipi.de",
"repository": {
"type": "git",
"url": "git://github.com/nicolas-t/Chocolat.git"
Expand Down
6 changes: 6 additions & 0 deletions gulpfile.coffee
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
gulp = require 'gulp'
gutil = require 'gulp-util'
coffee = require 'gulp-coffee'
bump = require 'gulp-bump'
mochaPhantomJS = require('gulp-mocha-phantomjs')

gulp.task 'compile-coffee', ->
Expand All @@ -20,6 +21,11 @@ gulp.task 'default', [
'watch'
]

gulp.task 'bump', ->
gulp.src(['./package.json', './bower.json'])
.pipe(bump())
.pipe gulp.dest('./')

gulp.task 'test', [
'compile-coffee'
'testing'
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"name": "chocolat",
"version": "0.4.6",
"version": "0.4.7",
"description": " Responsive jQuery Lightbox Plugin",
"main": [
"css/chocolat.css",
"js/jquery.chocolat.js"
],
"directories": {
"directories": {
"test": "test"
},
"dependencies": {
"jquery": "~1.8.2"
},
"devDependencies": {
"coffee-script": "^1.9.3",
"chai": "^3.0.0",
"coffee-script": "^1.9.3",
"gulp": "^3.9.0",
"gulp-bump": "^0.3.1",
"gulp-coffee": "^2.3.1",
"gulp-mocha-phantomjs": "^0.6.1",
"gulp-util": "^3.0.6"
Expand Down

0 comments on commit 66df15a

Please sign in to comment.