Преглед на файлове

Moved githooks to dev/tasks.

fredck преди 11 години
родител
ревизия
9e3febb24c
променени са 2 файла, в които са добавени 13 реда и са изтрити 6 реда
  1. 13 0
      packages/ckeditor5-engine/dev/tasks/githooks.js
  2. 0 6
      packages/ckeditor5-engine/gruntfile.js

+ 13 - 0
packages/ckeditor5-engine/dev/tasks/githooks.js

@@ -0,0 +1,13 @@
+'use strict';
+
+module.exports = function( grunt ) {
+	grunt.config.merge( {
+		githooks: {
+			all: {
+				'pre-commit': 'default'
+			}
+		}
+	} );
+
+	grunt.loadNpmTasks( 'grunt-githooks' );
+};

+ 0 - 6
packages/ckeditor5-engine/gruntfile.js

@@ -14,12 +14,6 @@ module.exports = function( grunt ) {
 			options: {
 				'excludeFiles': lintIgnores
 			}
-		},
-
-		githooks: {
-			all: {
-				'pre-commit': 'default'
-			}
 		}
 	} );