Skip to content

chore(justfile): just setup should not fail on git-clean#102

Merged
dalito merged 1 commit intolinkml:mainfrom
noelmcloughlin:justgit
Oct 28, 2025
Merged

chore(justfile): just setup should not fail on git-clean#102
dalito merged 1 commit intolinkml:mainfrom
noelmcloughlin:justgit

Conversation

@noelmcloughlin
Copy link
Copy Markdown
Contributor

@noelmcloughlin noelmcloughlin commented Oct 27, 2025

This PR prevents just setup failure if git tree is clean

(Maybe there is other solution via refactoring).

(my-awesome-schema)  just clean; just setup
removing "project/graphql"
rm -rf tmp
rm -rf docs/elements/*.md
Project-status: Ok
git init
Reinitialized existing Git repository in ./myproject/.git/
uv sync --group dev
Resolved 199 packages in 0.79ms
Audited 175 packages in 1ms
git add .
git commit -m "Initialise git with minimal project" -a
On branch main
nothing to commit, working tree clean
error: Recipe `setup` failed on line 52 with exit code 1

@dalito dalito merged commit a971501 into linkml:main Oct 28, 2025
2 checks passed
@noelmcloughlin noelmcloughlin deleted the justgit branch October 29, 2025 15:20
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