]> git.r.bdr.sh - rbdr/junction/blame_incremental - Makefile
Add credits
[rbdr/junction] / Makefile
... / ...
CommitLineData
1default: package
2
3start:
4 podman-compose up
5
6install-extension-dependencies:
7 cd extension && pnpm install
8
9build: install-extension-dependencies create-build-folder
10 cd extension && pnpm build
11
12package: package-for-firefox package-for-chrome package-for-safari
13
14package-for-firefox: build
15 cd extension && zip -r ../build/junction.xpi manifest.json junction.js build/content_script.js icons/ sounds/
16
17package-for-chrome: build
18 cd extension && zip -r ../build/junction.zip manifest.json junction.js build/content_script.js icons/ sounds/
19
20package-for-safari: build
21 xcodebuild build -project safari/Junction.xcodeproj -scheme Junction -configuration Release -derivedDataPath ./build/_xcode | xcbeautify
22 cp -r ./build/_xcode/Build/Products/Release/Junction.app ./build/
23
24create-build-folder:
25 mkdir -p build
26
27format:
28 pnpx prettier . --write
29 xcodebuild -project safari/Junction.xcodeproj | xcbeautify