drewrwilson / SomeRichAsshole

Browser add-on that replaces "Donald Trump" with "Some Rich Asshole"
http://SomeRichAsshole.com
MIT License
17 stars 9 forks source link

Grunt task for compressing the browser plugins #12

Open drewrwilson opened 9 years ago

drewrwilson commented 9 years ago

I don't know how to do this, but it'd be nice to have a script that prepares each plugin to be uploaded to chromes webstore and the firefox addon site. For each one the directory needs to be compressed and then moved to the download directory

noahcooper commented 9 years ago

And if you're gonna use Grunt, you should move the majority of the JavaScript (i.e. the walk and handleText functions) to one shared file, then just use concat to add the Mozilla junk. That way you don't have to maintain the JS in a bunch of different places.

drewrwilson commented 9 years ago

really good idea. having the regexes in two places is def not ideal