Browse Source

Updated Build.md

Tobias Reich 10 years ago
parent
commit
2eed519fb1
1 changed files with 13 additions and 9 deletions
  1. 13 9
      docs/Build.md

+ 13 - 9
docs/Build.md

@@ -2,19 +2,23 @@
 
 First you have to install the following dependencies:
 
-- [CSS Optimizer](https://github.com/css/csso) `csso`
-- [UglifyJS](https://github.com/mishoo/UglifyJS2) `uglifyjs`
+- `node` [Node.js](http://nodejs.org) v0.10 or later
+- `npm` [Node Packaged Modules](https://www.npmjs.org)
+- `bower` [Bower](http://bower.io)
+- `grunt` [Grunt](http://gruntjs.com)
 
-These dependencies can be installed using `npm`:
+After [installing Node.js](http://nodejs.org) you can use the included `npm` package manager to install the global requirements with the following command:
 
-	npm install csso uglify-js -g;
+	npm install -g bower grunt-cli
 	
 ### Build
 
-The Makefile is located in `etc/` and can be easily executed, using the following command. Make sure your run this from the root of Lychee:
-
-	make -f etc/Makefile
+The Gruntfile is located in `build/` and can be easily executed using the `grunt` command.
 	
-### Use uncompressed files
+### Watch for changes
+
+While developing, you might want to use the following command to watch for changes in `assets/js/` and `assets/css/`:
 
-While developing, you might want to use the uncompressed files. This is possible by editing the `index.html`. Simply change the linked CSS and JS files. There are already out-commented link-tags for development and production.
+	grunt watch
+	
+`grunt` will automatically build Lychee, everytime you save a file.