Skip to content

Instantly share code, notes, and snippets.

@kirkins
Created June 30, 2017 19:21
Show Gist options
  • Save kirkins/18ed36f436ce0618f746b293630db0d4 to your computer and use it in GitHub Desktop.
Save kirkins/18ed36f436ce0618f746b293630db0d4 to your computer and use it in GitHub Desktop.
Travis Cli Spell Check
language: node_js
node_js:
- '0.10'
before_install:
- npm install -g grunt-cli
script:
- grunt
branches:
only:
- gh-pages
'use strict';
module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-mdspell');
grunt.initConfig({
// Spell check
mdspell: {
options: {
ignoreNumbers: true
},
posts: {
src: ['_posts/*.md']
},
},
});
grunt.registerTask('default', ['mdspell']);
};
{
"name": "notes-tests-PRK",
"private": true,
"version": "0.0.1",
"author": {
"name": "Philip Kirkbride",
"url": "https://github.com/kirkins"
},
"engines": {
"node": ">= 0.10.0 && < 0.11.0"
},
"scripts": {
"test": "grunt test"
},
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.2",
"grunt-cli": "~0.1.0",
"grunt-mdspell": "^0.4.0"
},
"peerDependencies": {
"grunt": "~0.4.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment