j-delaney / planner-helper

Easily fetch Rate My Professor, CAPEs, and grade distributions in UCSD's WebReg
https://chrome.google.com/webstore/detail/planner-helper/omoljdnncdeeglgmagijlamhjlagobep
24 stars 14 forks source link

New Build System #26

Open krau612 opened 8 years ago

krau612 commented 8 years ago

I re-wrote the build.sh script to use uglifyjs to minify the javascript files, then use the "google-chrome --pack-extension" command to create the pem file, then I used a script from developer.chrome.com to create the crx file using the minified files and the pem file. Everything is then cleaned up.

This will only work if google-chrome and node-uglify are installed.

j-delaney commented 8 years ago

This is amazing! Thank you so much for working this. Since it adds google-chrome and node-uglify as dependencies could you also update the README to mention that (with how to install them as well)?

krau612 commented 8 years ago

Ok I've updated with those fixes

j-delaney commented 8 years ago

Thanks! Sorry for forgetting to mention this earlier but could you also update the README with details on how to do the build (i.e. using build.sh and crxmake.sh properly)

krau612 commented 8 years ago

No problem, the build instructions have been added

j-delaney commented 8 years ago

Sorry for the delay. I haven't gotten around to testing this yet. I'll test it and merge it this weekend