mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 15:46:28 +08:00
Summary: This removes specs from the build production version. One of the major issues with the windows build was that one of the package specs included a .node compiled file that the codesigner attempte to sign, but couldn't find for some reason. In testing, removing the specs from the build prod version fixed this. While we could just remove the one offending test, I think we should just remove the whole suite from the build version. That'd save in the number of files we have to ship, save download time, save build time, and have less chance for some symlinked issue failling a build in the future. Test Plan: Manual Reviewers: khamidou, halla, juan, spang Reviewed By: juan, spang Differential Revision: https://phab.nylas.com/D4206 |
||
---|---|---|
.. | ||
config | ||
docs_templates | ||
resources | ||
tasks | ||
Gruntfile.js | ||
local-ci.sh | ||
README.md |
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