]>
Commit | Line | Data |
---|---|---|
06b7617a | 1 | default: package |
90de3cbb RBR |
2 | |
3 | start: | |
bab26a4d | 4 | podman-compose up |
90de3cbb | 5 | |
bab26a4d RBR |
6 | install-extension-dependencies: |
7 | cd extension && pnpm install | |
139f43c6 | 8 | |
30295bf2 | 9 | build: install-extension-dependencies create-build-folder |
06b7617a RBR |
10 | cd extension && pnpm build |
11 | ||
4a191e80 | 12 | package: package-for-firefox package-for-chrome package-for-safari |
ec4adc33 | 13 | |
06b7617a | 14 | package-for-firefox: build |
ec4adc33 RBR |
15 | cd extension && zip -r ../build/junction.xpi manifest.json junction.js build/content_script.js icons/ sounds/ |
16 | ||
06b7617a RBR |
17 | package-for-chrome: build |
18 | cd extension && zip -r ../build/junction.zip manifest.json junction.js build/content_script.js icons/ sounds/ | |
19 | ||
4a191e80 | 20 | package-for-safari: build |
bab26a4d | 21 | xcodebuild build -project safari/Junction.xcodeproj -scheme Junction -configuration Release -derivedDataPath ./build/_xcode | xcbeautify |
4a191e80 RBR |
22 | cp -r ./build/_xcode/Build/Products/Release/Junction.app ./build/ |
23 | ||
ec4adc33 RBR |
24 | create-build-folder: |
25 | mkdir -p build | |
bab26a4d RBR |
26 | |
27 | format: | |
28 | prettier . --write | |
29 | xcodebuild -project safari/Junction.xcodeproj | xcbeautify |