Skip to content

Instantly share code, notes, and snippets.

@jeffgca
Forked from anonymous/-
Last active December 31, 2015 19:39
Show Gist options
  • Save jeffgca/8034593 to your computer and use it in GitHub Desktop.
Save jeffgca/8034593 to your computer and use it in GitHub Desktop.
#!/bin/bash
NAME=`cat ./package.json| pkg_tool.js name`.xpi
URL="http://127.0.0.1:8888/"
# echo $URL
cfx xpi && wget --post-file=$NAME $URL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment