mirror of
https://github.com/jkcoxson/idevice.git
synced 2026-03-02 06:26:15 +01:00
Add more just recipes for checking and building
This commit is contained in:
24
justfile
24
justfile
@@ -3,6 +3,30 @@ check-features:
|
|||||||
cargo hack check --feature-powerset --no-dev-deps
|
cargo hack check --feature-powerset --no-dev-deps
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
ci-check: build-ffi-native build-tools-native build-cpp build-c
|
||||||
|
cargo clippy --all-targets --all-features -- -D warnings
|
||||||
|
macos-ci-check: ci-check xcframework
|
||||||
|
|
||||||
|
[working-directory: 'ffi']
|
||||||
|
build-ffi-native:
|
||||||
|
cargo build --release
|
||||||
|
|
||||||
|
[working-directory: 'tools']
|
||||||
|
build-tools-native:
|
||||||
|
cargo build --release
|
||||||
|
|
||||||
|
create-example-build-folder:
|
||||||
|
mkdir -p cpp/examples/build
|
||||||
|
mkdir -p ffi/examples/build
|
||||||
|
|
||||||
|
[working-directory: 'cpp/examples/build']
|
||||||
|
build-cpp: build-ffi-native create-example-build-folder
|
||||||
|
cmake .. && make
|
||||||
|
|
||||||
|
[working-directory: 'ffi/examples/build']
|
||||||
|
build-c: build-ffi-native create-example-build-folder
|
||||||
|
cmake .. && make
|
||||||
|
|
||||||
xcframework: apple-build
|
xcframework: apple-build
|
||||||
rm -rf swift/IDevice.xcframework
|
rm -rf swift/IDevice.xcframework
|
||||||
rm -rf swift/libs
|
rm -rf swift/libs
|
||||||
|
|||||||
Reference in New Issue
Block a user