mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-08 12:56:48 +00:00
Add the root Makefile
This commit is contained in:
parent
8e8fc95ede
commit
51c918c3fc
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
.PHONY: all build clean docs fmt test
|
||||
|
||||
all: build test
|
||||
|
||||
build:
|
||||
@cd src && cargo build
|
||||
|
||||
test: build
|
||||
@cd src && cargo test
|
||||
|
||||
docs:
|
||||
@cd src && cargo doc
|
||||
@echo "" # Add a blank line
|
||||
@cd docs && mdbook build
|
||||
|
||||
fmt:
|
||||
@cd src && cargo fmt
|
||||
|
||||
clean:
|
||||
@cd src && cargo clean
|
||||
@cd docs && mdbook clean
|
@ -29,6 +29,11 @@ While there is nothing revolutionary in KxOS, it does explore some new design po
|
||||
- [ ] Iteration 5: Add a minimal set of OS-level virtualization functionalities
|
||||
- [ ] More iterations...
|
||||
|
||||
## Technical Details
|
||||
## How to build and test
|
||||
|
||||
TODO...
|
||||
While most code is written in Rust, the project-scope build process is governed
|
||||
by Makefile.
|
||||
|
||||
```bash
|
||||
make
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user