Skip to content
This repository has been archived by the owner on Jun 19, 2019. It is now read-only.

Commit

Permalink
Remove logs in production
Browse files Browse the repository at this point in the history
Due to Mozilla rules
  • Loading branch information
julkue committed Oct 6, 2016
1 parent a536cf9 commit 9afeccc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
10 changes: 10 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ module.exports = function (grunt) {
]
}
},
removelogging: {
chrome: {
src: 'build/chrome/scripts/**/*.js'
},
firefox: {
src: 'build/firefox/scripts/**/*.js'
}
},
replace: {
chrome: {
src: [
Expand Down Expand Up @@ -118,13 +126,15 @@ module.exports = function (grunt) {
if((!grunt.option('chrome') && !grunt.option('firefox')) || grunt.option('chrome')) {
grunt.task.run([
'copy:chrome',
'removelogging:chrome',
'replace:chrome',
'compress:chrome'
]);
}
if((!grunt.option('chrome') && !grunt.option('firefox')) || grunt.option('firefox')) {
grunt.task.run([
'copy:firefox',
'removelogging:firefox',
'replace:firefox',
'compress:firefox'
]);
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "news-feed-for-github",
"version": "1.1.4",
"version": "1.1.5",
"description": "GitHub news feed notifications directly in the browser",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion extension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "News Feed for GitHub",
"description": "GitHub news feed notifications directly in the browser",
"version": "1.1.4",
"version": "1.1.5",
"homepage_url": "https://github.com/julmot/news-feed-for-github",
"icons": {
"48": "icons/icon-48.png",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "news-feed-for-github",
"version": "1.1.4",
"version": "1.1.5",
"description": "GitHub news feed notifications directly in the browser",
"author": {
"name": "Julian Motz",
Expand All @@ -27,6 +27,7 @@
"grunt-contrib-clean": "~1",
"grunt-contrib-compress": "~1",
"grunt-contrib-copy": "~1",
"grunt-remove-logging": "^0.2.0",
"grunt-text-replace": "~0.4",
"matchdep": "~1"
}
Expand Down

0 comments on commit 9afeccc

Please sign in to comment.