Skip to content

docs: update build commands (build, build-classes, clean, jars) - #325

Merged
magnus-madsen merged 3 commits into
masterfrom
docs/build-classes
Aug 15, 2026
Merged

docs: update build commands (build, build-classes, clean, jars)#325
magnus-madsen merged 3 commits into
masterfrom
docs/build-classes

Conversation

@magnus-madsen

Copy link
Copy Markdown
Member

Summary

Updates the build documentation to match flix/flix#13019, flix/flix#13020 and flix/flix#13021:

  • build now only compiles the project (nothing is written to disk).
  • New build-classes command: compiles the project and writes the class files to build/class; documented with java -cp build/class Main.
  • build-jar / build-fatjar compile the project themselves and no longer read from (or write to) the build directory; the "automatically invokes the build command" notes are replaced accordingly. The thin jar description also mentions the resources directory.
  • Replaces the stale "Flix has no clean command" with a description of clean, and notes that clean (like build-pkg) requires a manifest.
  • build-and-packages.md: command list updated with build-classes and clean.

🤖 Generated with Claude Code

magnus-madsen and others added 3 commits August 15, 2026 16:51
The `build` command no longer writes class files; the new `build-classes`
command does. The `build-jar` and `build-fatjar` commands compile the
project themselves and do not touch the `build` directory. Also documents
the `clean` command.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@magnus-madsen
magnus-madsen merged commit 52e301b into master Aug 15, 2026
1 check passed
@magnus-madsen
magnus-madsen deleted the docs/build-classes branch August 15, 2026 14:58
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.

1 participant