summaryrefslogtreecommitdiff
path: root/justfile
blob: f2aff8dafcbc0c24337e01a54a9872941b4ba7d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import? 'xcode.just'

target := 'Sora'

alias fmt := format
alias b := build
alias gen := generate

fetch:
   curl https://raw.githubusercontent.com/Fuwn/justfiles/refs/heads/main/xcode.just > xcode.just

format:
	just _format {{target}}

build:
	just _build {{target}}

open:
	just _open {{target}}

install location="/Users/${USER}/Applications" derived_data='/Users/${USER}/Library/Developer/Xcode/DerivedData':
  cp -r {{derived_data}}/{{target}}-*/Build/Products/Release/{{target}}.app {{location}}

generate:
  mint run xcodegen@synced_folder generate