From 40215c3da25cd0a3d1b3641bcadcafd99dd6ca9b Mon Sep 17 00:00:00 2001 From: Dawa Ometto Date: Mon, 30 Mar 2020 11:27:19 +0200 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 06b78fe0..74fb3e51 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -78,6 +78,15 @@ git commit -am "Add test" git push ../lotr.git/ master ``` +## Updating static assets + +This is necessary whenever changes have been made to the assets in `lib/gollum/public/gollum/javascript` (mostly SASS, CSS, and JS files), to ensure the changes are also present in the [released](#releasing-the-gem) version of the gem. Steps: + +1. `git rm -r lib/gollum/public/assets` +1. `bundle exec rake precompile` +1. `git add lib/gollum/public/assets` +1. `git commit` + ## Releasing the gem Gollum uses [Semantic Versioning](http://semver.org/).