Skip to content

Replace make with just as the task runner#608

Open
ecomodeller wants to merge 2 commits intomainfrom
replace-make-with-just
Open

Replace make with just as the task runner#608
ecomodeller wants to merge 2 commits intomainfrom
replace-make-with-just

Conversation

@ecomodeller
Copy link
Member

Summary

  • Replace Makefile with justfile for cross-platform compatibility (fixes Windows CI)
  • Update all CI workflows to install and use just via extractions/setup-just@v3
  • Update CONTRIBUTING.md and CLAUDE.md to reference just instead of make

just is cross-platform and works on Windows without extra setup,
fixing the scheduled CI which runs on windows-latest.
@ecomodeller ecomodeller requested a review from otzi5300 March 16, 2026 11:51
@otzi5300
Copy link

otzi5300 commented Mar 16, 2026

on windows using powershell.

installed just using:
uv tool install rust-just

then run "uv run just test", which gave error:
error: Recipe test could not be run because just could not find the shell: program not found

adding "set shell := ["powershell.exe", "-NoLogo", "-Command"]" at the top of the justfile fixed it.

it would be Is there any way of automatically detecting windows and setting appropriate configs. Or should this be done by developer using env vars.

Otherwhise seems to work really nice on windows using uv.

Copy link

@otzi5300 otzi5300 left a comment

Choose a reason for hiding this comment

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

Seems to work fine but see comment about setting just to work with shell instead of sh

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