mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 16:15:42 -06:00
Makes its possible to run grafana without internet access. The performance hit by not using a cdn is very small since most grafana instances are setup on locally. closes #4223
31 lines
505 B
JavaScript
31 lines
505 B
JavaScript
// Lint and build CSS
|
|
module.exports = function(grunt) {
|
|
'use strict';
|
|
|
|
grunt.registerTask('css', [
|
|
'sass',
|
|
'concat:cssDark',
|
|
'concat:cssLight',
|
|
'concat:cssFonts',
|
|
'styleguide',
|
|
'sasslint',
|
|
'postcss'
|
|
]
|
|
);
|
|
|
|
grunt.registerTask('default', [
|
|
'jscs',
|
|
'jshint',
|
|
'tslint',
|
|
'clean:gen',
|
|
'copy:node_modules',
|
|
'copy:public_to_gen',
|
|
'phantomjs',
|
|
'css',
|
|
'typescript:build'
|
|
]);
|
|
|
|
grunt.registerTask('test', ['default', 'karma:test']);
|
|
|
|
};
|