4 ms·
Also: Make a project buildable in one step [1] [1] https://www.joelonsoftware.com/2000/08/09/the-joel-test-12-steps-to-better-code/ https://www.joelonsoftware.
by lixtra 4y ago
Also: Make a project buildable in one step [1]
[1] https://www.joelonsoftware.com/2000/08/09/the-joel-test-12-steps-to-better-code/ https://www.joelonsoftware.com/2000/08/09/the-joel-test-12-s...
- sneak 4y agoI personally standardize on a Makefile in the repo root, with a suitable default target. "git clone $x ; cd $x ; make" should always Do The Thing (even if it just calls out to npm or whatever).
- yjftsjthsd-h 4y agoYep:) I feel silly writing a Makefile that runs `go build`, but I still do it:)
- zdw 4y agoSame, but also adding targets for testing which are usable both by developers and CI and prints the tool version before executing it. Greatly cuts down on the "tests pass on my system, not sure while it failed in CI"
- jamesfinlayson 4y agoAgreed! Printing tool versions is something I've started doing at my current job and it's so helpful knowing what version of Python or nodejs (or whatever) is running on the ancient TeamCity agents.
- deleted 4y ago[deleted]