Checks the built files before a release of Masu.
$ mix masu.release_check
This task is for work on Masu itself; the release alias runs it
after mix masu.build and before mix hex.publish. In any project
but Masu, it stops with an error. It fails when:
- one of the four bundle files (
masu.esm.js,masu.cjs.js,masu.cssandmasu-sumi.css) is missing frompriv/static, or is empty (the empty files that CI makes are not a build); priv/staticholds any other file or directory;- the
versionofpackage.jsonis not the version ofmix.exs.