Package the chrome extension automatically
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
buildcrx.sh

README.md

Buildcrx

This tool is to package chrome extension automatically, with below extra features:

  • Exclude files or directories with the same pattern gramma like grep -E.
  • Search manifest.json for update infomation, and generates the updates.xml automatically.

Package function is provided by crxmake.sh.

Usage

Script help:

$ sh buildcrx.sh
Usage: buildcrx.sh [OPTIONS]

Options:
  -d     specify the extension directory, required
  -p     specify the pem file, optional
  -o     specify the output directory, optional
  -n     specify the build extension name, optional
  -e     specify the exclude pattern like grep, optional
  -h     show this help message

Example:

$ sh buildcrx.sh -d copybetter -p copybetter.pem -o copybetter/update -e 'update|\.git'