Skip to content

A justfile for running tasks locally? #459

Open
@RobertJacobsonCDC

Description

@RobertJacobsonCDC

Do we want a justfile to run tasks in the local dev environment? Just is a command / task runner similar in spirit to make but without the historical baggage or complexity of a build-system. "Tasks" are defined with "recipes", and tasks are composable. A justfile for ixa could contain:

  • one-time environment setup tasks like installing MDBook, pro-commit, wasm-pack, etc.
  • granular build tasks for wasm, examples, etc., and a "build everything" task
  • a test task that serves as a single source of truth for what should be tested
  • a task to run ALL examples correctly (see Some cargo build/test tasks are not running in CI #458)
  • clean-target (i.e. cargo clean), clean-docs, clean-book, clean-wasm, clean-outputs (report outputs of examples)
  • a ci task that runs everything that runs in CI but locally (single source of truth)

I have an example implementation in #460.

Metadata

Metadata

Labels

needs discussionNeeds discussion before implementation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions