]> git.r.bdr.sh - rbdr/junction/blobdiff - Makefile
Update bundle identifier
[rbdr/junction] / Makefile
index 75433eadf8465e4c0eb970a49fffc3d0a47ea8f4..dfcadb0ae4b83eedfb41d7f72a08231f190a0a41 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
 default: package
 
 start:
 default: package
 
 start:
-       docker-compose up
+       podman-compose up
 
 
-docker-build:
-       docker-compose build
+install-extension-dependencies:
+       cd extension && pnpm install
 
 
-build: create-build-folder
+build: install-extension-dependencies create-build-folder
        cd extension && pnpm build
 
 package: package-for-firefox package-for-chrome package-for-safari
        cd extension && pnpm build
 
 package: package-for-firefox package-for-chrome package-for-safari
@@ -18,8 +18,12 @@ package-for-chrome: build
        cd extension && zip -r ../build/junction.zip manifest.json junction.js build/content_script.js icons/ sounds/
 
 package-for-safari: build
        cd extension && zip -r ../build/junction.zip manifest.json junction.js build/content_script.js icons/ sounds/
 
 package-for-safari: build
-       xcodebuild build -project safari/Junction.xcodeproj -scheme Junction -configuration Release -derivedDataPath ./build/_xcode
+       xcodebuild build -project safari/Junction.xcodeproj -scheme Junction -configuration Release -derivedDataPath ./build/_xcode | xcbeautify
        cp -r ./build/_xcode/Build/Products/Release/Junction.app ./build/
 
 create-build-folder:
        mkdir -p build
        cp -r ./build/_xcode/Build/Products/Release/Junction.app ./build/
 
 create-build-folder:
        mkdir -p build
+
+format:
+       pnpx prettier . --write
+       xcodebuild -project safari/Junction.xcodeproj | xcbeautify