mix issho.release_check (Issho v0.4.2)

Copy Markdown View Source

Checks the built files before a release of Issho.

$ mix issho.release_check

This task is for work on Issho itself; the release alias runs it after mix issho.build and before mix hex.publish. In any project but Issho, it stops with an error. It fails when:

  • one of the files (the bundles issho.esm.js and issho.cjs.js, the style sheets issho.css and issho-sumi.css) is missing from priv/static, or is empty;
  • priv/static/types has no index.d.ts, or holds a file that is not a declaration (.d.ts);
  • priv/static holds any other file or directory;
  • the version of package.json is not the version of mix.exs.