add options and target, basic doc
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Mauro Torrez 2019-09-18 12:58:36 -03:00
parent c214cb1359
commit a41bac7d1d
2 changed files with 19 additions and 2 deletions

View File

@ -1,3 +1,20 @@
# drone-plugin-make
Drone plugin to run `make` command.
Drone plugin to run `make` command.
Usage example:
```
#...
steps:
- name: make
image: eumau/drone-plugin-make
settings:
targets:
- target1
- target2
options:
"-k"
```
Note that `options` should be provided as a string.

View File

@ -1,2 +1,2 @@
#!/bin/sh
make ${PLUGIN_OPTS}
make ${PLUGIN_OPTIONS} ${PLUGIN_TARGETS/,/ }