소스 검색

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'
-			}
 		}
 	} );