Skip to content

Commit

Permalink
Update readme for v. 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
prophecy committed Jan 12, 2018
1 parent 94a26b6 commit 3b88c5e
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,45 @@ wonder_modules/
wpm install -clean
wpm run wonderSample

### Sample configurations
For Android
```javascript
{
"Android": [
{
"command": "settings.gradle",
"upsert": "awesomelib"
},
{
"command": "copy",
"src": "./Src/awesomelib/",
"dst": "./awesomelib/"
}
]
}
```
For Node.js HTTP Server (WonderHttpServer)
```javascript
{
"node.js": [
{
"command": "copy",
"src": "Sample/",
"dst": ""
},
{
"command": "exec",
"parm": "npm install --prefix ./wonder_modules/WonderHttpServer/Core/"
},
{
"command": "copy",
"src": "Core/node_modules/",
"dst": "node_modules"
}
]
}
```

### Command list (Shown when type wpm help)
+ exec: Run OS command
+ -reverse_copy: Execute reverse copy
Expand Down

0 comments on commit 3b88c5e

Please sign in to comment.