Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 534 Bytes
EXTNAME := dnt
KEYFILE := $(EXTNAME).pem
EXTDIR := $(EXTNAME)
SHELL := /usr/bin/env bash
CHROME := open /Applications/Google\ Chrome.app -n --args
CWD := $(shell pwd)
SIZE := $(shell wc -c <$(CRXFILE) | tr -d ' ')
VERSION := $(shell python -c "import json,sys;print json.loads(sys.stdin.read()).get('version','')" < $(EXTDIR)/manifest.json)
all: pack
pack:
$(CHROME) --pack-extension=$(CWD)/extension \
--pack-extension-key=$(CWD)/extension.pem --no-message-box
zipball:
zip $(EXTNAME)-$(VERSION).zip $(EXTDIR)/*
Something went wrong with that request. Please try again.