2018-12-02 22:42:29 -05:00
|
|
|
.PHONY: all
|
|
|
|
all:
|
|
|
|
@echo 'Please use `cargo` commands to manage building/testing qadapt'
|
|
|
|
|
|
|
|
.PHONY: contributors
|
|
|
|
contributors:
|
|
|
|
@echo '`qadapt` is developed by:' > CONTRIBUTORS.md
|
|
|
|
@echo ' Bradlee Speice <bradlee@speice.io>' >> CONTRIBUTORS.md
|
2018-12-15 16:12:06 -05:00
|
|
|
@git log --format=' %aN <%aE>' | grep -v "Bradlee Speice <bradlee@speice.io>" | grep -v "users.noreply" | sort -u >> CONTRIBUTORS.md
|
2018-12-02 22:42:29 -05:00
|
|
|
|
|
|
|
.PHONY: readme README.md
|
|
|
|
readme: README.md
|
|
|
|
|
|
|
|
README.md: src/lib.rs
|
|
|
|
@sed -i '/---/q' README.md
|
2018-12-06 23:36:28 -05:00
|
|
|
@cat src/lib.rs | grep '//!' | sed -E 's/^\/\/\! ?//g' >> README.md
|
2018-12-02 22:42:29 -05:00
|
|
|
|
|
|
|
.PHONY: doc
|
|
|
|
doc: readme contributors
|