Commit 6c93c56c authored by Florian Dufour's avatar Florian Dufour
Browse files

Ajout de la vérification de la syntaxe de meta.json par Grunt et Jslint, et...

Ajout de la vérification de la syntaxe de meta.json par Grunt et Jslint, et configuration de Travis avec ajout de l'icône de build dans README
parent caded765
node_modules/
language: node_js
node_js:
- "0.8"
before_script:
- npm install -g grunt-cli
/*jslint node:true*/
module.exports = function (grunt) {
'use strict';
grunt.loadNpmTasks('grunt-jslint'); // load the task
grunt.initConfig({
jslint: {
files: [
'meta.json'
],
options: {
failOnError: true
}
}
});
// default task.
grunt.registerTask('default', 'jslint');
// Travis CI task.
grunt.registerTask('travis', 'jslint');
};
\ No newline at end of file
# Grain 3.0 : la pile de crêpes
Grain 3.0 : la pile de crêpes
=============================
[![Build Status](https://travis-ci.org/InriaMecsci/crepes.png?branch=master)](https://travis-ci.org/InriaMecsci/crepes)
* [Le grain en action](http://inriamecsci.github.com/#!/grains/crepes)
\ No newline at end of file
{
"name": "automate-etats-finis-multiple-3",
"version": "0.1.0",
"devDependencies": {
"grunt-jslint": "~0.2.5",
"grunt-cli": "~0.1.6",
"grunt": "~0.4.1"
},
"scripts": {
"test": "grunt travis --verbose"
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment