Commit Graph

51 Commits

Author SHA1 Message Date
Kevin Sawicki
38eda4ca14 Remove duplidate tasks in CI tasks array 2014-09-12 13:22:14 -07:00
Kevin Sawicki
dc0bdef36c Don't run specs on Linux CI for now 2014-09-12 13:22:14 -07:00
Kevin Sawicki
24206d45a7 Run mkdeb task on Linux CI 2014-09-12 13:22:14 -07:00
Kevin Sawicki
d9b1b7b399 Don't dump symbols on Windows CI for now
Currently errors and isn't uploaded yet anyway as a release asset
2014-09-10 10:08:26 -07:00
Ben Ogle
bbdd304834 Merge pull request #3229 from atom/docs-metadata
New API docs
2014-08-27 11:33:04 -07:00
Kevin Sawicki
496e49a5b9 Use correct process name on Linux 2014-08-26 15:10:43 -07:00
Kevin Sawicki
cfc965c135 Write to docs/output/api.json 2014-08-25 15:04:22 -07:00
Ben Ogle
9ee6a3d430 Docs task uses metadoc 2014-08-25 15:04:19 -07:00
Desmond Brand
66ce001961 Move coffeelint settings to external file
The motivation is for this is to allow `coffeelint` config to be shared by
`script/grunt coffeelint`, global `coffeelint` and inline linting via
`AtomLinter`.

Test Plan:

Made some deliberate lint errors then ran `script/grunt coffeelint` and
verified the output looked the same with and without this change.
2014-08-10 21:41:55 -07:00
Kevin Sawicki
7cfdcf0c1b Start caching compiled CSON files
Compiling CSON takes ~45 seconds so only compile files that aren't
in cache speeding up the build once the cache is primed.
2014-07-24 10:40:37 -07:00
Kevin Sawicki
5d00ca8bb6 Check platform not env 2014-07-23 20:03:02 -07:00
Kevin Sawicki
2fe647c950 Store atom-shell cache in ~/.atom/atom-shell
There were several CI failures today where it seemed like the
atom-shell version in the temp directory wasn't complete, it was
missing many files causing the build to fail when the specs were
run.

What made this worse was that running script/clean on these machines
didn't clean out these bad versions since the temp directory was different
when run via Jenkins vs. ssh'ing into the machines so the folders were
left there and the builds kept failing.

Atom already stores the compile cache to ~/.atom as well as the node cache
so putting atom-shell there as well keeps things consistent.
2014-07-22 17:44:41 -07:00
Kevin Sawicki
adea792b78 Use tmpDir variable 2014-07-22 09:24:06 -07:00
Kevin Sawicki
d1e52d4105 Restore spec task 2014-07-05 11:29:10 -07:00
Kevin Sawicki
b85ebbad2a Separate /F argument to taskkill 2014-07-05 11:06:07 -07:00
Kevin Sawicki
334e2ef7ab Temporarily disable specs 2014-07-05 10:46:22 -07:00
Kevin Sawicki
58efeb8a20 Force kill on Windows 2014-07-05 10:45:48 -07:00
Kevin Sawicki
497ac5e5ce Add kill command for Windows 2014-07-05 10:41:45 -07:00
Kevin Sawicki
092dac7625 Group build and install dir together 2014-07-02 14:33:44 -07:00
Kevin Sawicki
c129842037 Support --install-dir option
This will install the build to a custom location

Closes #2688
2014-07-02 14:10:39 -07:00
Corey Johnson & Daniel Hengeveld
8a377c9339 Make docs output dir a config var 2014-06-26 14:30:43 -07:00
Pritam Baral
7627e0b0f0 Minor fix + Remove last references to /tmp 2014-05-19 23:57:48 +05:30
Pritam Baral
25d2206471 Consolidate redundant code 2014-05-19 23:57:48 +05:30
Pritam Baral
2d96444e21 Use os.tmpdir() on OS X 2014-05-19 23:57:48 +05:30
Pritam Baral
f5c3bdb845 Use os.tmpdir() on Linux
/tmp isn't always available, is on precious RAM-backed fs or simply not
what the user has set his $TMPDIR to. According to the specification, we
should use $TMPDIR, which node lets us find through os.tmpdir().

Also, contributing.md isn't in favour of using platform-dependent code.

This commit focusses only on Linux, and leaves OS X as is with /tmp for
discussion.
2014-05-19 23:57:48 +05:30
Cheng Zhao
fcdb42dbe4 Do not build source maps when compiling coffee scripts.
Since we do not ship coffee script sources and source map files in final
build, the source maps generated here actually have no use, and would
cause lots of networking erros since each compiled .js would try to load
their corresponding source map file.

This doesn't affect dev mode because it has its own way to generate
source maps on the fly.

Closes #1836.
2014-04-05 19:30:18 +08:00
Cheng Zhao
627a839779 Fix grunt install. 2014-03-25 15:40:43 +08:00
Cheng Zhao
5151faea3d Use unix style install. 2014-03-25 15:40:43 +08:00
Cheng Zhao
705d3e9fbc Do not run grunt install on Linux by default.
On Linux we usually separate build from install, and only run install
with sudo when needed.
2014-03-17 07:44:58 +00:00
Cheng Zhao
6bd3728548 Fix grunt on Linux. 2014-03-17 07:28:36 +00:00
Kevin Sawicki
9ee6bea772 Remove stray snippet 2014-03-03 18:51:17 -08:00
Kevin Sawicki
79bdde4f08 Upgrade to tree-view@0.73.0 2014-03-03 18:48:24 -08:00
Cheng Zhao
83e59bf5b0 Dump symbols when in CI. 2014-02-28 13:34:49 +08:00
Cheng Zhao
764b31fdcd Add dump-symbols task. 2014-02-28 13:09:03 +08:00
Kevin Sawicki
3434a68ac0 Only use token to download grunt-download-atom-shell 2014-02-25 19:55:19 -08:00
Kevin Sawicki
9a941b97cb Use new atom-bot token 2014-02-25 19:52:59 -08:00
Nathan Sobo
12bc2a0a39 Add license-check step to CI grunt task 2014-02-19 09:23:25 -07:00
Cheng Zhao
fcffcc83f9 Merge branch 'master' into chrome31
Conflicts:
	package.json
	vendor/apm
2014-01-16 09:11:34 +08:00
Kevin Sawicki
a53d223b6f Use package.json version in master builds only 2014-01-14 16:25:22 -08:00
Kevin Sawicki
673b78561a Rename set-development-version task to set-version 2014-01-14 16:16:31 -08:00
Kevin Sawicki
d81fb8cabf Sign right before publishing 2014-01-14 16:03:58 -08:00
Kevin Sawicki
1dec9d0ad2 Run codesign task after build task 2014-01-14 15:31:49 -08:00
Kevin Sawicki
01e0970406 Sign CI builds 2014-01-14 13:29:34 -08:00
Kevin Sawicki
b08978a431 Add back linting of build files 2014-01-14 13:28:30 -08:00
Cheng Zhao
ccc5f8fa66 Merge branch 'master' into chrome31
Conflicts:
	build/package.json
	package.json
2014-01-13 23:28:48 +08:00
Kevin Sawicki
c39d8d9aa7 Precompile pegjs parsers 2014-01-10 11:32:40 -08:00
probablycorey
a1f8a21c7c Output warning/error if diskspace on CI server is getting low. 2014-01-09 13:56:49 -08:00
Cheng Zhao
d0bf769896 Use node-vm-compatibility-layer module. 2014-01-07 18:48:03 +08:00
Kevin Sawicki
167e6dc1bf Convert upload-release script to a grunt task 2014-01-03 08:32:24 -08:00
Kevin Sawicki
822f13d6e3 Remove unneeded lint exclude 2014-01-03 08:32:23 -08:00