diff --git a/README.md b/README.md index 8e3ad7a..5b242a1 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,6 @@ Here's a simple example of a task: ``` 'n'], function() {}); ``` @@ -106,6 +118,9 @@ You can invoke the task by the alias as follows: Task may have an dependencies on other tasks. To specify all dependencies one should list them in **deps** section of a task declaration: ``` + ['a', 'b']], function() {}); ``` @@ -122,11 +137,46 @@ All dependencies are executed before running the specified task. Running the tas ***** All done (0.18 sec.) ***** ``` -#### Task executed always +#### Always executed tasks Sometimes it's convenient to define tasks which should be executed every time without explicit invocation. For example for setting the up the default environment, properties, etc. To achieve that one should specify the **always** property for a task: ``` + true], function() {}); ``` + +### Build properties + +It's possible to specify miscellaneous build properties to setup a proper build environment conditions. There's a set of routines which provides taskman for properties manipulation. + +### Setting a property + +Use **set** built-in function: + +``` + true], + function() { + set("IOS_APP_ID", "4242jfhFD"); + }); +``` + +### Getting a property + +Use **get** built-in function: + +``` +