envato-archive / guide

Document your application with a living component library and styleguide
https://rubygems.org/gems/guide
MIT License
8 stars 3 forks source link

Process assets in gem building process #101

Closed orien closed 3 years ago

orien commented 3 years ago

Context

In this project there is pre-processing of source Javascript and stylesheet files. The output of this processing is directed into the app/assets/ directory ready to be included in the gem. Strangely, both the source (javascript/ and styles/) and the target (app/assests/) directories are included in the git repository. This introduces confusion: which files should be developed on?

I propose we only include the source files in the git repo, and have a well defined build process that processes the assets and creates the gem.

Changes