Mailspring/build
mbilker 887db8d8ea fix(launch): convert Atom's launch script for N1
Addresses #411

The `N1.sh` launch script fails to account for running from
`/usr/{local/}bin/nylas` where it would throw an error saying
it couldn't find the electron binary.

The Atom launch script works just fine and takes that into account.
The installed launch script here is a reflactored Atom launch script
that properly accounts for running the `nylas` executable and locates
the actual binary accordingly.
2016-03-02 17:47:47 -08:00
..
config feat(hidden-messages): Filter trash/spam messages. Fixes #1135 2016-03-02 10:05:17 -08:00
resources fix(launch): convert Atom's launch script for N1 2016-03-02 17:47:47 -08:00
tasks fix(launch): convert Atom's launch script for N1 2016-03-02 17:47:47 -08:00
Gruntfile.coffee fix(launch): convert Atom's launch script for N1 2016-03-02 17:47:47 -08:00
package.json fix(updater): update to Squirrel.Windows 1.2.3 2016-02-09 12:03:43 -08:00
README.md Adding node version information to build/README.md 2015-10-05 23:43:33 -07:00
run-build-and-send-screenshot.scpt fix(build-flow): Slow down the script - jenkins is slow. 2015-08-18 18:19:17 -07:00

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