Skip to content

Improve local dev experience with Makefile doc & more tests#648

Merged
rusq merged 1 commit intorusq:masterfrom
volker-fr:dev-improvements
Mar 19, 2026
Merged

Improve local dev experience with Makefile doc & more tests#648
rusq merged 1 commit intorusq:masterfrom
volker-fr:dev-improvements

Conversation

@volker-fr
Copy link
Copy Markdown
Contributor

Improve local dev by adding help to Makefile to make finding the beneficial make targets easy. Also add more test options like go vet & bundle them all in make test-all

false,
},
}
for _, tt := range tests {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes go vet

-rm -rf slackdump_$(shell date +%Y)*
.PHONY: clean

test:
Copy link
Copy Markdown
Contributor Author

@volker-fr volker-fr Mar 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test & aurtest got moved to the bottom with all other tests

@rusq
Copy link
Copy Markdown
Owner

rusq commented Mar 18, 2026

Hey @volker-fr , thanks for your hard work on these PRs, I'll have a look at them this evening.

.PHONY: aurtest
# Via http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
help: ## help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect!

@rusq rusq merged commit e2a69a3 into rusq:master Mar 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants