summaryrefslogtreecommitdiff
path: root/doc/assets.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'doc/assets.markdown')
-rw-r--r--doc/assets.markdown25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/assets.markdown b/doc/assets.markdown
new file mode 100644
index 00000000..29bf515b
--- /dev/null
+++ b/doc/assets.markdown
@@ -0,0 +1,25 @@
+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`
+
+Requirements
+------------
+
+- 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`.
+
+This tool is only available in the repository (development version).