You've already forked hotpocket
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:
@@ -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',
|
||||
]))
|
||||
|
||||
Reference in New Issue
Block a user