frmatthew / exsurge

A JavaScript library for rendering Gregorian Chant in square note notation
MIT License
54 stars 13 forks source link

Fix build process of the dist files #39

Closed frmatthew closed 8 years ago

frmatthew commented 8 years ago

Currently the dist files are part of the dev repository, so that each update made will also regenerate the dist files and they get committed as part of commits. This makes for messy commit histories and unnecessary repo clutter.

Some options:

bbloomf commented 8 years ago

Could you set it up to gitignore the dist folder AND also set up jenkins/github to automate the build process, and still commit the dist foler? I think that would make the most sense to me.

frmatthew commented 8 years ago

After evaluating Docker, drone.io, travis ci, and codeship.io, I decided to integrated it with codeship.io and surge.sh: on every git push to the master branch, codeship rebuilds the lib. Then it gets deployed to surge.sh (actually, the domain ex.surge.sh, which is rather providential). I think think surge.sh can serve as the CDN to distribute the dist files.

I only have the free codeship.io account, so I'm not sure it it will work long term or not, depends on the number of monthly builds I guess...