-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from rickpastoor/feature/firefox-plugin
Check in initial version of Firefox build
- Loading branch information
Showing
8 changed files
with
119 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
var data = require("sdk/self").data; | ||
var pageMod = require("sdk/page-mod"); | ||
|
||
pageMod.PageMod({ | ||
include: "*.trello.com", | ||
contentScriptFile: data.url("scrummer.js"), | ||
contentStyleFile: data.url("scrummer.css"), | ||
attachTo: ["top"] | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"title": "Scrummer", | ||
"name": "scrummer", | ||
"version": "0.11.0", | ||
"description": "", | ||
"main": "index.js", | ||
"author": "Rick Pastoor", | ||
"engines": { | ||
"firefox": ">=38.0a1", | ||
"fennec": ">=38.0a1" | ||
}, | ||
"license": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
# | ||
# This script assumes a linux environment | ||
|
||
echo "*** uMatrix.firefox: Copying files" | ||
|
||
DES=dist/build/scrummer.firefox | ||
rm -rf $DES | ||
mkdir -p $DES | ||
mkdir -p $DES/data | ||
|
||
cp -R src/* $DES/data | ||
cp platform/firefox/index.js $DES/ | ||
cp platform/firefox/package.json $DES/ | ||
cp -R platform/chromium/img $DES/ | ||
mv $DES/img/icon128.png $DES/icon.png | ||
|
||
if [ "$1" = all ]; then | ||
echo "*** scrummer.firefox: Creating package..." | ||
pushd $DES/ | ||
zip ../scrummer.firefox.xpi -qr * | ||
popd | ||
fi | ||
|
||
echo "*** scrummer.firefox: Package done." |