mirror of
https://github.com/edera-dev/sprout.git
synced 2025-12-19 13:50:16 +00:00
boot improvements and acceleration
This commit is contained in:
@@ -3,15 +3,7 @@ set -e
|
||||
|
||||
cd "$(dirname "${0}")/.." || exit 1
|
||||
|
||||
NATIVE_ARCH="$(uname -m)"
|
||||
[ "${NATIVE_ARCH}" = "arm64" ] && NATIVE_ARCH="aarch64"
|
||||
[ "${NATIVE_ARCH}" = "amd64" ] && NATIVE_ARCH="x86_64"
|
||||
|
||||
if [ "$(uname)" != "Linux" ]; then
|
||||
cargo clippy --workspace --fix --allow-dirty --allow-staged \
|
||||
--target "${NATIVE_ARCH}-unknown-uefi"
|
||||
else
|
||||
cargo clippy --workspace --fix --allow-dirty --allow-staged
|
||||
fi
|
||||
. "hack/common.sh"
|
||||
|
||||
cargo clippy --workspace --fix --allow-dirty --allow-staged --target "${HOST_ARCH}-unknown-uefi"
|
||||
./hack/format.sh
|
||||
|
||||
Reference in New Issue
Block a user