Introduce neo ci Subcommands for CI/CD and External Integrations #131
Labels
effort: 3
Takes roughly 3 hours (w/ docs+testing)
package: cli
Related to the Command Line Tool
type: feature
work: obvious
Straightforward tasks with known solutions; follow best practices
Currently, the
build
command in the NeoHaskell CLI follows this process:While this approach works, it lacks flexibility for CI/CD and integration with external projects. Instead, we should introduce a
neo ci
command with subcommands that allow finer control over the build process.Proposed Changes:
ci
subcommands:neo ci generate-cabal
: Generates a Cabal file but does not trigger a build.neo ci generate-nix
: Generates a Nix file but does not trigger a build.neo ci build
,neo ci test
) could be added later.build
command so it does not implicitly generate Cabal/Nix files but instead relies on existing ones or explicitly callsneo ci generate-*
when needed.Benefits:
.cabal
and.nix
files to be safely ignored in repositories.The text was updated successfully, but these errors were encountered: