Skip to content

Commit

Permalink
Updated gruntfile
Browse files Browse the repository at this point in the history
  • Loading branch information
echel0n committed Jul 14, 2018
1 parent 2f5ba4a commit a60f7af
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
33 changes: 0 additions & 33 deletions Gruntfile.js
Expand Up @@ -2,27 +2,8 @@ module.exports = function (grunt) {
require('load-grunt-tasks')(grunt);

grunt.initConfig({
'string-replace': {
inline: {
files: {
'./': 'sickrage/locale/**/LC_MESSAGES/*.po'
},
options: {
replacements: [
{
pattern: /("PO-Revision-Date.*")/ig,
replacement: ''
}
]
}
}
},
clean: {
bower_components: 'bower_components',
//sass: [
// '.sass-cache',
// 'sickrage/core/webserver/static/scss/'
//],
options: {
force: true
}
Expand Down Expand Up @@ -211,17 +192,6 @@ module.exports = function (grunt) {
}
}
},
sass: {
core: {
files: {
'sickrage/core/webserver/static/scss/core.scss': [
'dist/css/core.css',
'dist/css/fonts.css',
'dist/css/icons-sickrage.css'
]
}
}
},
cssmin: {
options: {
shorthandCompacting: false,
Expand Down Expand Up @@ -413,15 +383,13 @@ module.exports = function (grunt) {
'imagemin',
'uglify',
'sprite',
'sass',
'cssmin',
'jshint'
]
);

grunt.registerTask(
'css', [
'sass',
'cssmin'
]
);
Expand All @@ -446,7 +414,6 @@ module.exports = function (grunt) {

var tasks = [
'exec:crowdin_download_translations',
//'string-replace',
'exec:babel_compile',
'po2json'
];
Expand Down
2 changes: 0 additions & 2 deletions package.json
Expand Up @@ -25,9 +25,7 @@
"grunt-exec": "^2.0.0",
"grunt-google-fonts": "^0.3.0",
"grunt-po2json": "git+https://github.com/rockykitamura/grunt-po2json.git",
"grunt-sass": "^1.1.0",
"grunt-spritesmith": "^6.4.0",
"grunt-string-replace": "^1.3.1",
"load-grunt-tasks": "^3.4.1"
}
}

0 comments on commit a60f7af

Please sign in to comment.