rspack icon indicating copy to clipboard operation
rspack copied to clipboard

[Tracking]: migrate development workflow to just

Open hardfist opened this issue 1 year ago • 4 comments

What subject does this issue tracking?

[migrate development workflow to just]

background

we may need some rust workflow(like rust api bump、release) in the future, which cause we may have js workflow and rust workflow together. Currently we use ./x to manage js workflow but it seems not idea to use ./x to manage rust workflow. so we're considering migrate the whole development workflow to just + js-script + xtask.

Design

our daily workflow actually contain two parts

  • task implementation: task like publish | bump | debug | test and so on
  • task orchestra: how to orchestra task like run bump first and then run publish just is good at task management and xtask is good at writing task using rust so we use just to do task orchestra and use js script and xtask to write task implementation.
### Tasks
- [ ] migrate current task orchestra in ./x to just
- [ ] update cicd to just command
- [ ] update contribute develop guide to just command
- [ ] remove `./x` and `./x.mjs`
- [ ] implement rust workflow (rust api release, doc generate) in just & xtask

hardfist avatar Aug 09 '24 07:08 hardfist