]> git.r.bdr.sh - rbdr/junction/blame - Makefile
Inject script only once
[rbdr/junction] / Makefile
CommitLineData
06b7617a 1default: package
90de3cbb
RBR
2
3start:
4 docker-compose up
5
6docker-build:
7 docker-compose build
139f43c6 8
06b7617a
RBR
9build: create-build-folder
10 cd extension && pnpm build
11
4a191e80 12package: package-for-firefox package-for-chrome package-for-safari
ec4adc33 13
06b7617a 14package-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
17package-for-chrome: build
18 cd extension && zip -r ../build/junction.zip manifest.json junction.js build/content_script.js icons/ sounds/
19
4a191e80
RBR
20package-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
ec4adc33
RBR
24create-build-folder:
25 mkdir -p build