Forráskód Böngészése

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 éve
szülő
commit
3d53766e51
1 módosított fájl, 6 hozzáadás és 2 törlés
  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' ]
+      }
 		}
 
 	});