Skip to content

(Valkyrie) Deployment

RePod edited this page Nov 9, 2018 · 2 revisions

As of 5807341f7fe5e64a71e3b3cc6cf6878138365e68 the repository uses Grunt (via Node+NPM) to compile the main version of PSDLE and all other versions (minified, userscript, chrome+firefox).

  • Versioning is done from package.json and uses a version number supported by all releases.
    • Most Grunt tasks will also banner comment the files with the version number.
  • grunt compile
    • Generates the main version of PSDLE by minifying and injecting the CSS and language JSON and versioning the output to _src/psdle.includes.js.
  • grunt release
    • Generates all the release versions (base, min, user) into the root.
    • Chrome and Firefox ZIP is generated at _src/chrome/psdle.zip using the base version.
  • grunt deploy
    • Does not run grunt release! Expects it to already have been run.
    • Opens Chrome webstore and AMO developer hub for updating the official extension.
    • exec:deploy task calls deploy-sync.bat to checkout main, mini, and userscript versions to gh-pages branch.