mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
feat(screenshot): add control panel for pixacto (#4055)
This commit is contained in:
committed by
Jeremy Elbourn
parent
ee1a5a7aa3
commit
b2ca0f5d84
@@ -2,7 +2,7 @@ import gulp = require('gulp');
|
||||
import {execNodeTask} from '../util/task_helpers';
|
||||
import {DIST_MATERIAL} from '../constants';
|
||||
|
||||
gulp.task('lint', ['tslint', 'stylelint', 'madge']);
|
||||
gulp.task('lint', ['tslint', 'stylelint', 'madge', 'dashboardlint']);
|
||||
|
||||
/** Task that runs madge to detect circular dependencies. */
|
||||
gulp.task('madge', ['library:clean-build'], execNodeTask('madge', ['--circular', DIST_MATERIAL]));
|
||||
@@ -12,5 +12,11 @@ gulp.task('stylelint', execNodeTask(
|
||||
'stylelint', ['src/**/*.scss', '--config', 'stylelint-config.json', '--syntax', 'scss']
|
||||
));
|
||||
|
||||
gulp.task('dashboardlint', execNodeTask(
|
||||
'stylelint', ['tools/screenshot-test/**/*.css', '--config', 'stylelint-config.json',
|
||||
'--syntax', 'scss']
|
||||
));
|
||||
|
||||
/** Task to run TSLint against the e2e/ and src/ directories. */
|
||||
gulp.task('tslint', execNodeTask('tslint', ['-c', 'tslint.json', '+(src|e2e|tools)/**/*.ts']));
|
||||
gulp.task('tslint', execNodeTask('tslint', ['-c', 'tslint.json', '+(src|e2e|tools)/**/*.ts',
|
||||
'--exclude', '**/node_modules/**/*']));
|
||||
|
||||
Reference in New Issue
Block a user