summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorruki <[email protected]>2018-01-25 23:16:06 +0800
committerruki <[email protected]>2018-01-25 13:36:38 +0800
commit969e896da38d60040e7d17a142bcb2c1a7895f18 (patch)
tree281bf6c1250c2a8c1a8380569513c213d85cd514 /README.md
parentd394e5ff46ff2856d2c8ae4772d2e84606449d32 (diff)
add plugin examples
Diffstat (limited to 'README.md')
-rw-r--r--README.md27
1 files changed, 23 insertions, 4 deletions
diff --git a/README.md b/README.md
index f4b2ff8a6..cf87d5419 100644
--- a/README.md
+++ b/README.md
@@ -137,10 +137,29 @@ $ xmake run -d console
## Builtin Plugins
-* Macros script plugin
-* Run the custom lua script plugin
-* Generate IDE project file plugin(makefile, vs2002 - vs2017 .. )
-* Generate doxygen document plugin
+#### Macros script plugin
+
+```bash
+$ xmake m -b # start to record
+$ xmake f -p iphoneos -m debug
+$ xmake
+$ xmake m -e # stop to record
+$ xmake m . # palyback commands
+```
+
+#### Run the custom lua script plugin
+
+```bash
+$ xmake l ./test.lua
+$ xmake l -c "print('hello xmake!')"
+$ xmake l lib.detect.find_tool gcc
+```
+
+#### Generate IDE project file plugin(makefile, vs2002 - vs2017 .. )
+
+```bash
+$ xmake project -k vs2017 -m "debug,release"
+```
## More Plugins