Guest User

Makefile

a guest
Jan 27th, 2025
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.92 KB | Software | 0 0
  1. debug:
  2. ifeq ($(OS),Windows_NT)
  3.     cd src-tauri/lovely-injector/crates/lovely-win && cargo build --release && cd $(CURDIR) && cargo tauri dev
  4. else
  5.     clear
  6.     RUST_LOG=debug cd src-tauri/lovely-injector/crates/lovely-mac && rm -f ../../target/release/liblovely.d* && SKIP_BUILD_SCRIPT=1 cargo build --release && cd $(CURDIR) && cargo tauri dev
  7. endif
  8.  
  9. release:
  10. ifeq ($(OS),Windows_NT)
  11.     cd src-tauri/lovely-injector/crates/lovely-win && set SKIP_BUILD_SCRIPT=1 && cargo build --release && cd $(CURDIR) && cargo tauri build
  12. else
  13.     clear
  14.     cd src-tauri/lovely-injector/crates/lovely-mac && rm -f ../../target/release/liblovely.d* && SKIP_BUILD_SCRIPT=1 cargo build --release && cd $(CURDIR) && cargo tauri build --verbose
  15. endif
  16.  
  17. clean:
  18.     cd ./src-tauri && cargo clean
  19. ifeq ($(OS),Windows_NT)
  20.     cd ./src-tauri/lovely-injector/crates/lovely-win && cargo clean
  21. else
  22.     cd ./src-tauri/lovely-injector/crates/lovely-mac && cargo clean
  23. endif
Advertisement
Add Comment
Please, Sign In to add comment