BTHLABS-51: Chrome Web Extension

Co-authored-by: Tomek Wójcik <labs@tomekwojcik.pl>
Co-committed-by: Tomek Wójcik <labs@tomekwojcik.pl>
This commit is contained in:
2025-09-14 06:34:43 +00:00
committed by Tomek Wójcik
parent 1a8c4bfebc
commit ab84f685c0
21 changed files with 82 additions and 9 deletions

View File

@@ -110,3 +110,23 @@ def start_web(ctx):
@task
def start_safari(ctx):
ctx.run('yarn watch:safari')
@task(pre=[clean])
def start_chrome(ctx):
ctx.run('yarn watch:chrome')
@task
def build_safari(ctx):
ctx.run('yarn build:safari')
@task(pre=[clean])
def build_chrome(ctx):
ctx.run('yarn build:chrome')
ctx.run(' '.join([
r'/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome',
'--pack-extension=dist/chrome-production/',
'--pack-extension-key=secrets/chrome.pem',
]))