Skip to content

Refactor: Add Makefile #patch - #172

Merged
asteiner-swisstopo merged 1 commit into
masterfrom
feat-add-makefile
Jul 29, 2026
Merged

Refactor: Add Makefile #patch#172
asteiner-swisstopo merged 1 commit into
masterfrom
feat-add-makefile

Conversation

@asteiner-swisstopo

@asteiner-swisstopo asteiner-swisstopo commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

When reviewing #170 I noticed that one forgets the right commands to setup/serve/format the project. So, as in all other projects, I have created a minimal Makefile to avoid that.

The commands:

  • make setuppnpm install
  • make servepnpm run docs:dev
  • make formatpnpm run format
  • make format-checkpnpm run format:check

I did not add a help message or something like that as I find it easier to have an easily grokable Makefile than a lot of comments etc in it.

Test link

@asteiner-swisstopo
asteiner-swisstopo force-pushed the feat-add-makefile branch 2 times, most recently from d15cf75 to a226571 Compare July 29, 2026 11:43
When reviewing #170 I noticed
that one forgets the right commands to setup/serve/format the project.
So, as in all other projects, I have created a minimal Makefile to avoid
that.

The commands:

- `make setup` → `pnpm install`
- `make serve` → `pnpm run docs:dev`
- `make format` → `pnpm run format`
- `make format-check` → `pnpm run format:check`

I did not add a help message or something like that as I find it easier
to have an easily grokable Makefile than a lot of comments etc in it.
@asteiner-swisstopo
asteiner-swisstopo merged commit 1c76277 into master Jul 29, 2026
2 checks passed
@asteiner-swisstopo
asteiner-swisstopo deleted the feat-add-makefile branch July 29, 2026 12:46
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