You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
concore build exits 0 without building when the output directory already exists; no way to rebuild #717
If the --output directory already exists, concore build prints a yellow warning ("Remove it first or choose a different output directory") and returns, so the exit code is 0 and nothing is built. Scripts and CI that do concore build ... && ./run then run a stale study. concore init already exits non-zero when its target exists.
Also, rebuilding after editing a workflow (the most common loop) requires deleting the folder by hand.
Proposal:
Exit with an error (exit code 1) when the output directory exists, mentioning --force.
Add concore build --force, which replaces the output directory only if it looks like a study generated by concore (has a build and a run script). It refuses anything else, and never deletes the current directory, the home directory, or a directory containing the workflow or the sources (so a concore init project folder is safe).
Activity