]> git.r.bdr.sh - rbdr/junction/blob - Makefile
75433eadf8465e4c0eb970a49fffc3d0a47ea8f4
[rbdr/junction] / Makefile
1 default: package
2
3 start:
4 docker-compose up
5
6 docker-build:
7 docker-compose build
8
9 build: create-build-folder
10 cd extension && pnpm build
11
12 package: package-for-firefox package-for-chrome package-for-safari
13
14 package-for-firefox: build
15 cd extension && zip -r ../build/junction.xpi manifest.json junction.js build/content_script.js icons/ sounds/
16
17 package-for-chrome: build
18 cd extension && zip -r ../build/junction.zip manifest.json junction.js build/content_script.js icons/ sounds/
19
20 package-for-safari: build
21 xcodebuild build -project safari/Junction.xcodeproj -scheme Junction -configuration Release -derivedDataPath ./build/_xcode
22 cp -r ./build/_xcode/Build/Products/Release/Junction.app ./build/
23
24 create-build-folder:
25 mkdir -p build