diff options
| author | xengineering <me@xengineering.eu> | 2024-05-08 21:23:14 +0200 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2024-05-08 21:23:14 +0200 |
| commit | 5396273447260b88e9aea77bb3347ed8ad4b1ae5 (patch) | |
| tree | 865feb95b7129ecef51204c1fc201f66e7eb63a2 | |
| parent | 9073adf62f2fa78190c8296c5f6f6c9fb1963063 (diff) | |
| download | ceres-5396273447260b88e9aea77bb3347ed8ad4b1ae5.tar ceres-5396273447260b88e9aea77bb3347ed8ad4b1ae5.tar.zst ceres-5396273447260b88e9aea77bb3347ed8ad4b1ae5.zip | |
Add 'tests' target to Makefile
This makes it easier to run unit tests.
| -rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -13,6 +13,10 @@ $(BUILD_DIR)/$(TARGET_EXEC): debug: go run -ldflags "-X main.version=$(VERSION)" $(MODULE_NAME) +.PHONY: tests +tests: + go test $(MODULE_NAME)/... + .PHONY: clean clean: rm -rf $(BUILD_DIR) |
