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
The project currently lacks a Makefile to standardize and simplify common development and build tasks. To enhance usability and reduce onboarding complexity, we propose adding a minimalist Makefile focusing on essential functionality. This first version will support core tasks like building, cleaning, testing, and providing a help summary.
Goals
Provide a lightweight, easy-to-use Makefile.
Focus on core functionality needed during early development.
Leave room for future expansion as the project evolves.
Proposed Targets
build
Purpose: Compile the project binary.
Implementation: Run crystal build src/main.cr --release.
Why: Compiling the project is the primary task during development.
clean
Purpose: Remove build artifacts.
Implementation: Delete all binaries and intermediate files (e.g., ./bin, ./obj).
Why: Cleaning ensures a consistent build environment.
test
Purpose: Run the project's test suite.
Implementation: Execute crystal spec or an equivalent test command.
Why: Verifying functionality is critical for development.
help
Purpose: Display all available targets and their descriptions.
Implementation: Print a concise list of targets and their purposes.
Why: Assists developers in understanding and using the Makefile.
The text was updated successfully, but these errors were encountered:
Description
The project currently lacks a Makefile to standardize and simplify common development and build tasks. To enhance usability and reduce onboarding complexity, we propose adding a minimalist Makefile focusing on essential functionality. This first version will support core tasks like building, cleaning, testing, and providing a help summary.
Goals
Proposed Targets
build
crystal build src/main.cr --release
.clean
./bin
,./obj
).test
crystal spec
or an equivalent test command.help
The text was updated successfully, but these errors were encountered: