Skip to content

Misc(tm)#4282

Merged
fisx merged 4 commits intodevelopfrom
fisx-misc-2024-10-07
Oct 7, 2024
Merged

Misc(tm)#4282
fisx merged 4 commits intodevelopfrom
fisx-misc-2024-10-07

Conversation

@fisx
Copy link
Contributor

@fisx fisx commented Oct 7, 2024

Add make c variant without treefmt; rm stack files; source comments with cross-references to redundant code.

(This PR has no ticket because it takes longer to author one than to just do this.)

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Oct 7, 2024
# Usage: make c package=brig test=1
.PHONY: c
c: treefmt
c: treefmt c-fast
Copy link
Contributor

Choose a reason for hiding this comment

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

Now that I see this, I'm wondering if our approach to squeeze everything into one makefile target fits to the idea of make. I.e. if someone wants to compile and format in one go, why don't they call e.g. make c format? 🤔

(I'm fine with your change though, because your intention probably was to keep the dev's interface stable.)

-- | 'microseconds' determines how long one unit lasts. there is a trade-off of fast
-- vs. robust in this whole setup. this type is supposed to help us find a good sweet spot.
--
-- there is also `Milliseconds` (with small `s` after `Milli`) in "Data.Misc". maybe this
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
-- there is also `Milliseconds` (with small `s` after `Milli`) in "Data.Misc". maybe this
-- there is also `Milliseconds` (with small `s` after `Milli`) in "Data.Misc". Maybe this

Co-authored-by: Sven Tennie <sven.tennie@wire.com>
@fisx fisx merged commit 4de3d3a into develop Oct 7, 2024
@fisx fisx deleted the fisx-misc-2024-10-07 branch October 7, 2024 13:55
@fisx fisx added echoes: technical-roadmap/technical-debt More specific category, to highlight Technical Debt being tackled. echoes: technical-roadmap Work contributing to the Technical Roadmap, to improve our velocity or reduce the technical debt. labels Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

echoes: technical-roadmap/technical-debt More specific category, to highlight Technical Debt being tackled. echoes: technical-roadmap Work contributing to the Technical Roadmap, to improve our velocity or reduce the technical debt. ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants