Просмотр исходного кода

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 лет назад
Родитель
Сommit
3d53766e51
1 измененных файлов с 6 добавлено и 2 удалено
  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' ]
+      }
 		}
 
 	});