aboutsummaryrefslogtreecommitdiffstats
path: root/gulpfile.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix some gulp task issuesDan Finlay2016-07-291-18/+31
| | | | | | | | | | | | I know, I've been fixing up the gulp scripts all week. I keep fixing one thing then breaking another. In this commit, I fix some issues with some previous approaches. I no longer try to do the copying to `chrome` after `firefox`, I simply stream to both during copy and build tasks, and that logic is reused during dev and build tasks. The `copyTask` function now supports an array of `destinations`, that allows piping to multiple destinations, which is pretty cool. The `manifest:cleanup` task that chrome requires is now just part of the `copy` task, so we don't have to remember it everywhere we copy. So obvious it's like why only now.
* Fix dev tasks for multi browser copyingDan Finlay2016-07-291-10/+15
|
* Fix nondeterministic buildDan Finlay2016-07-281-1/+1
| | | | | | We used to be able to copy static resources while we built js, but now part of the copy task is copying firefox built files into chrome, so they need to be done in order. This could probably be optimized a bit more, but for now it builds reliably again.
* Correct typo commentDan Finlay2016-07-271-1/+1
|
* Fix copy taskDan Finlay2016-07-271-1/+0
|
* Fix chrome buildDan Finlay2016-07-271-2/+2
|
* Store versioned builds in builds folderDan Finlay2016-07-271-4/+5
|
* Add platform specific builds and zip tasks (#486)Dan Finlay2016-07-271-12/+41
| | | | | | | | | | | | | | | | | | | | | | | | * Add platform specific folders to dist folder * Remove gulp hacks * Add platform specific bundling dev and dist tasks now build into platform-specific folders within the `dist` folder. Added tasks `gulp zip` and `gulp dist`. `zip` builds the platform-specific folders into platform-specific bundles within the `dist` folder. `dist` builds and then zips all at once. * Fix chrome bundle zipping * Fix broken reference in eth warning * Fix but where web3.eth.accounts are not available in firefox. * Bump changelog
* Inject inpage script synchronouslyDan Finlay2016-07-261-0/+2
| | | | | | | | | | | | | | | | Huge thanks to the Firefox team, for their help on the issue of our long-standing inpage script race condition. http://stackoverflow.com/questions/38577656/how-can-i-make-a-firefox-add-on-contentscript-inject-and-run-a-script-before-oth The problem is that we were injecting a `script` tag and assigning its `src` attribute, which triggers an asynchronous fetch request, and does not guarantee execution order! (That was news to me!) Instead, I'm now assigning the `script` tag a `textContent` value of the script to inject, and it seems to fix the problem! There is also a Firefox-only API that could solve this whole problem in an even more elegant way, so we might want to expose a code path for that solution later on: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Language_Bindings/Components.utils.exportFunction Allows you to expose an object from one scope to another. There was even talk of creating a polyfill for it that does virtually what we do, message passing between contexts.
* Manually lintedDan Finlay2016-06-221-3/+3
|
* Got eslint running correctlyDan Finlay2016-06-221-1/+3
|
* Began adding auto lintingDan Finlay2016-06-221-2/+22
|
* Make gulp watch images folderDan Finlay2016-06-151-1/+1
|
* ui - redesign - app header + accounts selectionkumavis2016-05-111-1/+5
|
* build - post process with dereqkumavis2016-04-211-0/+1
|
* Moved UI into repo with its own dependency stackDan Finlay2016-04-141-3/+3
|
* build - use gulp, remove gruntkumavis2016-03-121-7/+7
|
* build - add gulp build processkumavis2016-03-031-0/+131