Skip to content

(Chihiro) Deployment

RePod edited this page Feb 25, 2018 · 2 revisions

The deploy script, when ran with deploy.bat, will generate all other versions (min, userscript, chrome) automatically using psdle.js with no additional involvement. It will also open the Chrome manifest and Userscript header to edit the version numbers.

When complete, it will open the Chrome webstore editing page and checkout all non-Chrome versions to the gh-pages branch.


Requirements

  • In PATH
    • Git
    • JSMin
  • 7-Zip (hardcoded location)
  • Notepad++ (hardcoded location)
  • Creates other versions based off the original version, psdle.js.
    • Runs JSMin for psdle.min.js
    • Combines psdle.js and psdle.user.txt for Userscript
    • Runs chrome/7-Zip.bat for Chrome extension
  • Opens Chrome webstore edit page in browser.
  • Runs deploy-sync.bat.
  • Ensures master is up to date then copies non-Chrome PSDLE versions to gh-pages for live.
  • Can be ran directly but will not regenerate the versions.