Bladeren bron

Add more support for external markdown.

The 'grunt watch' command now also watches for changes to external
markdown.
The 'grunt package' command now packages all external markdown files for
rapid deployment in static enviroments.
Will Sloan 9 jaren geleden
bovenliggende
commit
3d53766e51
1 gewijzigde bestanden met toevoegingen van 6 en 2 verwijderingen
  1. 6 2
      Gruntfile.js

+ 6 - 2
Gruntfile.js

@@ -107,7 +107,8 @@ module.exports = function(grunt) {
 				'js/**',
 				'lib/**',
 				'images/**',
-				'plugin/**'
+				'plugin/**',
+        '**.md'
 			]
 		},
 
@@ -129,7 +130,10 @@ module.exports = function(grunt) {
 			},
 			html: {
 				files: [ 'index.html']
-			}
+			},
+      markdown: {
+        files: [ './*.md' ]
+      }
 		}
 
 	});