mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-17 02:26:46 +00:00
Separate OSDK lint from kernel lint
This commit is contained in:
parent
cd3faa8123
commit
b4a357a971
2
.github/workflows/osdk_test.yml
vendored
2
.github/workflows/osdk_test.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
id: lint
|
id: lint
|
||||||
run: cd osdk && cargo clippy -- -D warnings
|
run: make check_osdk
|
||||||
|
|
||||||
# The OSDK unit test features a recursive call of Cargo,
|
# The OSDK unit test features a recursive call of Cargo,
|
||||||
# which will break when RUSTUP_HOME is altered in the case
|
# which will break when RUSTUP_HOME is altered in the case
|
||||||
|
5
Makefile
5
Makefile
@ -178,7 +178,6 @@ format:
|
|||||||
|
|
||||||
.PHONY: check
|
.PHONY: check
|
||||||
check: $(CARGO_OSDK)
|
check: $(CARGO_OSDK)
|
||||||
@cd osdk && cargo clippy -- -D warnings
|
|
||||||
@./tools/format_all.sh --check # Check Rust format issues
|
@./tools/format_all.sh --check # Check Rust format issues
|
||||||
@# Check if STD_CRATES and NOSTD_CRATES combined is the same as all workspace members
|
@# Check if STD_CRATES and NOSTD_CRATES combined is the same as all workspace members
|
||||||
@sed -n '/^\[workspace\]/,/^\[.*\]/{/members = \[/,/\]/p}' Cargo.toml | \
|
@sed -n '/^\[workspace\]/,/^\[.*\]/{/members = \[/,/\]/p}' Cargo.toml | \
|
||||||
@ -198,6 +197,10 @@ check: $(CARGO_OSDK)
|
|||||||
done
|
done
|
||||||
@make --no-print-directory -C regression check
|
@make --no-print-directory -C regression check
|
||||||
|
|
||||||
|
.PHONY: check_osdk
|
||||||
|
check_osdk:
|
||||||
|
@cd osdk && cargo clippy -- -D warnings
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
@cargo clean
|
@cargo clean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user