mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fixing compilation of grunt
This commit is contained in:
7
tasks/options/exec.js
Normal file
7
tasks/options/exec.js
Normal file
@@ -0,0 +1,7 @@
|
||||
module.exports = function(config) {
|
||||
'use strict'
|
||||
return {
|
||||
tslint : "node ./node_modules/tslint/lib/tslint-cli.js -c tslint.json --project ./tsconfig.json --type-check",
|
||||
tscompile: "node ./node_modules/typescript/lib/tsc.js -p tsconfig.json"
|
||||
};
|
||||
};
|
||||
@@ -65,7 +65,7 @@ module.exports = function(config, grunt) {
|
||||
grunt.config('tslint.source.files.src', filepath);
|
||||
|
||||
grunt.task.run('typescript:build');
|
||||
grunt.task.run('tslint');
|
||||
grunt.task.run('exec:tslint');
|
||||
}
|
||||
|
||||
done();
|
||||
|
||||
Reference in New Issue
Block a user