purescript-react-basic-todomvc icon indicating copy to clipboard operation
purescript-react-basic-todomvc copied to clipboard

Use zephyr in the build process

Open coot opened this issue 5 years ago • 5 comments
trafficstars

zephyr is a dce tool; Disclaimer: I am the author of zephyr.

coot avatar Jun 14 '20 03:06 coot

Hi @coot, thanks for this!

The PR looks great, but CI is failing - it looks like we should find a way to install zephyr there. CI is Netlify, and runs only the following command: rm -rf output dist && npm install && npm run build-production

f-f avatar Jun 14 '20 10:06 f-f

I never used netify; Currently zephyr is only available to download from github releases (there's no npm package yet).

coot avatar Jun 14 '20 10:06 coot

@coot I see - there's nothing special with Netlify, my only point was that it just runs things from the package.json. So maybe we could wget zephyr in there?

f-f avatar Jun 14 '20 11:06 f-f

That should work. here is the latest release.

coot avatar Jun 14 '20 23:06 coot

Another way to fix this would be to port the CI to GitHub Actions (and GitHub pages) and use this action that takes care of installing zephyr, purs, spago, etc

f-f avatar Aug 11 '20 13:08 f-f