diff options
| author | Teddy Wing | 2016-04-27 16:06:56 -0400 |
|---|---|---|
| committer | Teddy Wing | 2016-04-27 16:06:56 -0400 |
| commit | e9447a3c6ce3f2c3b057ae71a1949d6663bc1fe7 (patch) | |
| tree | 9d4900c5532584353accb0e62a561d71c5756a6f | |
| parent | 55ddc252ff0fbbf4149afa6497b5fb407905ef52 (diff) | |
| download | mutt-alias-auto-add-e9447a3c6ce3f2c3b057ae71a1949d6663bc1fe7.tar.bz2 | |
Makefile: Add some new targets
To save me some time from having to write commands. Started with a
`reinstall` target to make it easier to put a new build on my PATH.
Then added a `test-all` target so I wouldn't have to use two commands to
run both test suites. Needed to create a `test` task also in order to
run the unit tests before the integration test.
Ensure that we `cargo build` before running integration tests. Otherwise
we might be testing against an old build.
| -rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,2 +1,12 @@ test-integration: + cargo build prove -v + +test: + cargo test + +test-all: test test-integration + +reinstall: + cargo uninstall alias-auto-add + cargo install |
