mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-08 01:04:39 +08:00
d58a1aeaf3
Summary: Fix specs Fix responding to mailto, files at launch It's super important that `window:loaded` is /not/ sent from index.js because `loadSettings.bootstrapScript` is async and nothing is actually loaded yet. This was causing the app to dispatch the mailto:// links into the main window before a DraftStore existed. I think this was necessary at one point because we had NylasWindows not using a bootstrapScript? Should not be here anymore... Test Plan: Run a few new tests Reviewers: juan, evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D2737 |
||
---|---|---|
.. | ||
config | ||
resources | ||
tasks | ||
Gruntfile.coffee | ||
package.json | ||
README.md | ||
run-build-and-send-screenshot.scpt |
N1 Build Environment
Node version 0.10.x (Due to the version of electron currently used.)
N1 Building and Tasks
This folder contains tasks to create production builds of N1
Tasks should not be executed from this folder, but rather from /scripts
. The
/scripts
folder has convenient methods that fix paths and do environment
checks.
Note that most of the task definitions are stored in /build/tasks
Some useful tasks
NOTE: Run all of these from the N1 root folder.
Linting:
`script/grunt lint`
Building:
`script/grunt build`
The build folder has its own package.json and is isolated so we can use npm
to compile against v8's headers instead of apm