Skip to content

Commit 525a2a1

Browse files
committed
adding grunt and integrating it with travis
1 parent e13ac1c commit 525a2a1

File tree

4 files changed

+28
-1
lines changed

4 files changed

+28
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
language: node_js
2+
node_js:
3+
- 0.8

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# jQuery Github
1+
# jQuery Github [![Build Status](https://secure.travis-ci.org/zenorocha/jquery-github.png?branch=master)][travis]
22

33
[![Github Repo Demonstration](http://f.cl.ly/items/2I3u29002A1g2w1R1I0X/Screen%20Shot%202013-01-17%20at%202.16.36%20PM.png)](http://zenorocha.github.com/jquery-github/)
44

grunt.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module.exports = function(grunt) {
2+
3+
grunt.initConfig({
4+
lint: {
5+
files: ['jquery.github.js']
6+
}
7+
});
8+
9+
grunt.registerTask('default', 'lint');
10+
grunt.registerTask('travis', 'lint');
11+
12+
};

package.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"name": "jquery-github",
3+
"description": "A jQuery plugin to display your Github Repositories.",
4+
"author": "Zeno Rocha",
5+
"version": "0.2.3",
6+
"devDependencies": {
7+
"grunt": "~0.3.17"
8+
},
9+
"scripts": {
10+
"test": "grunt travis --verbose"
11+
}
12+
}

0 commit comments

Comments
 (0)