Initial Commit
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
set windows-shell := ["powershell.exe", "-NoLogo", "-NoProfile", "-Command"]
|
||||
|
||||
# 사용 가능한 명령 목록
|
||||
default:
|
||||
@just --list
|
||||
|
||||
# Tauri 앱 실행 (프론트 개발 서버도 자동 실행)
|
||||
dev:
|
||||
npm --prefix 4_rust_tauri run dev
|
||||
|
||||
# 프론트만 실행 (http://localhost:15173)
|
||||
web:
|
||||
npm --prefix 2_frontend run dev
|
||||
|
||||
# 기존 .NET 윈도우 앱 실행 (프론트는 just web으로 별도 실행)
|
||||
windows:
|
||||
dotnet run --project 3_windowsApp/CodeAssist.App
|
||||
|
||||
# 프론트와 Tauri CLI 의존성 설치
|
||||
install:
|
||||
npm --prefix 2_frontend ci
|
||||
npm --prefix 4_rust_tauri ci
|
||||
|
||||
# 프론트 프로덕션 빌드
|
||||
build:
|
||||
npm --prefix 2_frontend run build
|
||||
|
||||
# Tauri 배포 앱 빌드 (프론트 빌드 포함)
|
||||
package:
|
||||
npm --prefix 4_rust_tauri run build
|
||||
|
||||
# 프론트 코드 검사
|
||||
lint:
|
||||
npm --prefix 2_frontend run lint
|
||||
|
||||
# 프론트 테스트
|
||||
test:
|
||||
npm --prefix 2_frontend run test
|
||||
|
||||
# 프론트 포맷 정리
|
||||
format:
|
||||
npm --prefix 2_frontend run format
|
||||
|
||||
# Rust 컴파일 검사
|
||||
rust-check:
|
||||
cargo check --locked --manifest-path 4_rust_tauri/src-tauri/Cargo.toml
|
||||
|
||||
# Rust 테스트
|
||||
rust-test:
|
||||
cargo test --locked --manifest-path 4_rust_tauri/src-tauri/Cargo.toml
|
||||
|
||||
# 프론트 검사·테스트·빌드 순서대로 실행 (실패하면 중단)
|
||||
check: lint test build
|
||||
Reference in New Issue
Block a user