Skip to content

Commit

Permalink
Update readme with how to run specific tasks without stopping eyedrops.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkotze committed Feb 21, 2016
1 parent b421ce4 commit 71a771b
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,32 @@ config :eye_drops,
name: "Unit tests",
cmd: "mix test",
paths: ["web/*", "test/*"]
},
%{
id: :acceptance,
name: "Acceptance tests",
cmd: "mix acceptance",
paths: ["web/*", "features/*"]
}
]
```

You can setup multiple tasks and it will run one after the other.

## task properties
## Task properties

- `id` unique atom to identify tasks
- `name` provide a name for task
- `cmd` the actual command to run
- `path` is a list. Can be exact, glob pattern or just a folder name

## Commands while running eye_drops

When EyeDrops has started you can run all or a specific task without needing to stop or change a file

- `all` this will run all your tasks
- `task_id` run a specific task from your EyeDrops config

## Optional switches

- `mix eye_drops --include-tasks "unit_tests,acceptance"` provide the id of tasks to watch instead of all
Expand Down

0 comments on commit 71a771b

Please sign in to comment.