summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-08-15 19:13:49 -0400
committerFrederic Guillot <fred@kanboard.net>2015-08-15 19:13:49 -0400
commit6079233a07374e6a9f96ec57d5db6016e8939e1d (patch)
tree360a3921bfe12075bfc2a5a931721d9caf897b4d /docs
parentcea32af4064d483b02f070db86a7a84d723bea81 (diff)
Add Makefile and remove the scripts directory
Diffstat (limited to 'docs')
-rw-r--r--docs/assets.markdown20
1 files changed, 14 insertions, 6 deletions
diff --git a/docs/assets.markdown b/docs/assets.markdown
index 41776fca..29bf515b 100644
--- a/docs/assets.markdown
+++ b/docs/assets.markdown
@@ -1,16 +1,24 @@
-How to build assets (Javascript and CSS files)?
-===============================================
+How to build assets (Javascript and CSS files)
+==============================================
Stylesheet and Javascript files are merged together and minified.
- Original CSS files are stored in the folder `assets/css/src/*.css`
- Original Javascript code is stored in the folder `assets/js/src/*.js`
-To make a new build run this shell-script from a terminal:
+Requirements
+------------
-```bash
-./scripts/make-assets.sh
-```
+- Unix operating system
+- make
+- yuicompressor in your path (`brew install yuicompressor`)
+
+Build assets
+------------
+
+- Build Stylesheet files: `make css`
+- Build Javascript files: `make js`
+- Build both: `make`
This script generates the files `assets/css/app.css` and `assets/js/app.js`.