-
Notifications
You must be signed in to change notification settings - Fork 4
Promisy fun #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Promisy fun #110
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
4bee1d8
make domain and issue parallel
jdungan e415842
prepare widget before page loop
jdungan a59d0a8
refactor to make more explainable
jdungan 849782c
de-fooing file streams
jdungan 88ef9af
more gulpfile paring
jdungan 8de437d
new easier to remember gulp task names
jdungan 77c295f
clean up task creating loop
jdungan 5b4a039
add const to declarations, move for better reading
jdungan d580d3a
fix gulpfile
jdungan 382d507
update with new gulp tasks
jdungan d4642f0
make function definition consistent
jdungan ecbba3e
fix function change
jdungan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -10,24 +10,16 @@ The codesy.io widget is an add-on for Firefox, Chrome, and Opera that adds codes | |
| 2. Install requirements: | ||
| * `cd widgets` | ||
| * `npm install` (You can install globally with `npm install -g`) | ||
| 3. Run these gulp tasks to watch changes to files and compile extensions. | ||
| * gulp dev-chrome-unpacked - creates chrome/ directory and watches for changes | ||
| * gulp dev-chrome-packed - creates a zip file in /chrome and watches for changes | ||
| * gulp dev-firefox-unpacked - creates firefox/ directory and watches for changes | ||
| * gulp dev-firefox-packed - creates an xpi in firefox/ file and watches for changes | ||
|
|
||
| combined tasks: | ||
| * gulp dev-packed - creates addon packages and watches for changes | ||
| * gulp dev-unpacked - creates directories with addon files and watches all for changes | ||
| 3. See the list of gulp tasks build or watch changes to files and compile extensions: | ||
|
|
||
|
|
||
| ### To use the Chrome Extension | ||
| 1. Run one of the dev-chrome tasks above | ||
| 1. Run `workon-chrome-directory` | ||
| 2. Follow the [Unpacked Chrome Extensions | ||
| docs](http://developer.chrome.com/extensions/getstarted.html#unpacked) and load the `chrome` directory | ||
|
|
||
| ### To use the Firefox Add-on | ||
| 1. Run one of the dev-firefox tasks above | ||
| 1. Run `gulp workon-firefox-file` | ||
| 2. Goto the the //about:addons page | ||
| 3. Select 'Install Addon from File ...') | ||
| 4. Load the xpi file from the firefox directory | ||
|
|
@@ -45,3 +37,26 @@ combined tasks: | |
| * Removes debug lines from .js files e.g. console.log | ||
| * Creates an xpi file for uploading to the moz store. The file contains the manifest.json file. | ||
| 2. Upload the xpi file to the moz store | ||
|
|
||
|
|
||
| ## Gulp Tasks | ||
|
|
||
| #### build-{browser}-file: | ||
| * **build-firefox-file**: create xpi for FF dev in the firefox.source directory with dev settings | ||
| * **build-chrome-file**: create zip for chrome dev in the chrome.source directory with dev settings | ||
|
|
||
| #### build-{browser}-directory: | ||
| * **build-firefox-directory**: create firefox dev directroy in the firefox.source directory with dev settings | ||
| * **build-chrome-directory**: create chrome dev directroy in the chrome.source directory with dev settings | ||
|
|
||
| #### workon-{browser}-directory or workon-{browser}-directory: | ||
| watches extension files and rebuilds | ||
| * **workon-firefox-file** | ||
| * **workon-firefox-directory** | ||
| * **workon-chrome-file** | ||
| * **workon-chrome-directory** | ||
|
|
||
| #### publish-{browser}-file | ||
| * **publish-firefox-file**: create xpi for FF prod | ||
| * **publish-chrome-file**: create zip for chrome and opera | ||
| * **publish-all**: creates all browser extension files | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When I try to run any of these
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. d580d3a should fix this. |
||
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With dev tasks removed from the doc, we need to change the lines below that say "Run one of the
dev-___tasks above".There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does 382d507 fix this?