Skip to content

Commit

Permalink
v0.169
Browse files Browse the repository at this point in the history
  • Loading branch information
MeoMix committed Feb 24, 2015
1 parent b8f7c68 commit fb82bb7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
25 changes: 12 additions & 13 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ module.exports = function (grunt) {

// Update version number in manifest.json:
if (isDebugDeploy) {
grunt.log.write('NOTICE: version is undefined, running as debug deploy and not production. To run as production, pass version. e.g.: deploy:0.98');
grunt.log.write('NOTICE: version is undefined, running as debug deploy and not production. To run as production, pass version. e.g.: deploy:0.98');
grunt.option('version', 'Debug');
} else {
grunt.option('version', version);
}
Expand Down Expand Up @@ -215,18 +216,16 @@ module.exports = function (grunt) {
});

grunt.registerTask('cleanup-dist-folder', 'removes the template folder since it was inlined into javascript and deletes build.txt', function () {
if (grunt.file.exists('dist/template')) {
// Can't delete a full directory -- clean it up.
grunt.config.set('clean', ['dist/template', 'dist/less']);
grunt.task.run('clean');
grunt.file.delete('dist/template');
grunt.file.delete('dist/less');
grunt.file.delete('dist/js/thirdParty/mocha.js');
grunt.file.delete('dist/js/thirdParty/chai.js');
grunt.file.delete('dist/js/thirdParty/sinon.js');
grunt.file.delete('dist/js/test');
grunt.file.delete('dist/test.html');
}
// Can't delete a full directory -- clean it up.
grunt.config.set('clean', ['dist/template', 'dist/less', 'dist/js/background/key']);
grunt.task.run('clean');
grunt.file.delete('dist/template');
grunt.file.delete('dist/less');
grunt.file.delete('dist/js/thirdParty/mocha.js');
grunt.file.delete('dist/js/thirdParty/chai.js');
grunt.file.delete('dist/js/thirdParty/sinon.js');
grunt.file.delete('dist/js/test');
grunt.file.delete('dist/test.html');

grunt.file.delete('dist/build.txt');
});
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_extensionName__",
"short_name": "Streamus",
"version": "0.168",
"version": "0.169",

"default_locale": "en",
"description": "__MSG_extensionDescription__",
Expand Down

0 comments on commit fb82bb7

Please sign in to comment.