Commit graph

820 commits

Author SHA1 Message Date
Jed Fox
0cabb14df7 Address review comments 2018-07-04 14:29:29 -04:00
Brendan Forster
7d1dee546a Merge branch 'master' into pr/3675 2018-07-03 14:44:55 -03:00
Brendan Forster
b740f69783 make control flow more explicit 2018-06-26 09:26:55 -03:00
Brendan Forster
8110a3bb19 fix the compiler warnings 2018-06-22 10:44:22 -03:00
Brendan Forster
bbab6f36e5 ensure scripts are strictly typed 2018-06-22 10:41:04 -03:00
Brendan Forster
87cc7b99d3 Merge branch 'master' into pr/3675 2018-06-18 13:32:48 -03:00
Brendan Forster
2660d93cde add support for spawing the dev tools when running renderer tests 2018-06-07 13:23:49 +09:30
Brendan Forster
a4b8d23ea8 Merge branch 'master' into pr/3675 2018-06-06 17:44:42 +09:30
Brendan Forster
b9386be0d1 ensure prettier looks at all these files 2018-05-28 22:44:40 +10:00
Brendan Forster
b0c34b1059 Revert "lift this up to the file header"
This reverts commit f9d4740b7b.
2018-05-24 11:24:45 +10:00
Brendan Forster
e7b85143ae tidy up this bit of type annotation 2018-05-24 11:12:05 +10:00
Brendan Forster
f9d4740b7b lift this up to the file header 2018-05-24 11:07:47 +10:00
Brendan Forster
e5652d3f70 fixing up some T Y P E S 2018-05-23 15:42:47 +10:00
Brendan Forster
3540ed76fa report these warnings 2018-05-21 16:29:48 +10:00
Brendan Forster
2578dc6022 actually we should watch these sync methods 2018-05-21 16:28:17 +10:00
Brendan Forster
9ff56aa3d0 cleanup unnecessary globals 2018-05-21 15:49:06 +10:00
Brendan Forster
5c57361f36 lint on new TS files at the root of the repository 2018-05-21 15:40:40 +10:00
Brendan Forster
e9ee7cc27d extract getPortOrDefault function to be defensive 2018-05-14 14:31:32 +10:00
Brendan Forster
7a8fcd1203 some additional guard checks 2018-05-14 14:30:39 +10:00
Brendan Forster
317d3fb03f defensive work around the deployment secret 2018-05-14 14:22:06 +10:00
Brendan Forster
57c65b17c3 defensive lookup of getSHA using environment variables 2018-05-14 14:18:32 +10:00
Brendan Forster
cfff3094dc validate input to electron-packager 2018-05-14 14:13:57 +10:00
Jed Fox
87e9529977
Merge branch 'master' into my-hands-are-typing 2018-05-13 18:42:34 -04:00
Jed Fox
9dab65aa29 Revert logic changes 2018-05-05 17:10:55 -04:00
Jed Fox
43466fc645 🔥 script/debug 2018-05-05 17:09:39 -04:00
Jed Fox
3b05ffabbf No more JS 2018-05-05 16:16:26 -04:00
Brendan Forster
dafdb2b9f7 Merge branch 'master' into upgrade-fs-extra 2018-05-04 15:08:33 +10:00
Brendan Forster
78d36a105a remove unused debug script 2018-04-30 13:28:47 -05:00
Brendan Forster
a6ca6926e3 Merge branch 'master' into my-hands-are-typing 2018-04-20 11:24:22 -05:00
Brendan Forster
ba54497f43 Merge branch 'master' into upgrade-fs-extra 2018-04-19 10:58:15 -05:00
Brendan Forster
c036e11bef fixed naming for things 2018-04-11 13:41:54 +10:00
Brendan Forster
66b0c75fd1 Merge branch 'master' into upgrade-yarn-time 2018-04-08 15:25:26 +10:00
Brendan Forster
27c191c623 Merge branch 'master' into my-hands-are-typing 2018-04-08 14:25:11 +10:00
Markus Olsson
768dc010f1
Merge branch 'master' into we-dont-need-to-ship-a-yaml-parser 2018-04-04 14:45:18 +02:00
Markus Olsson
985bf1c23d
Merge pull request #4355 from desktop/investigate-slimming-things
generate an analysis of the renderer bundle when building for prod
2018-04-03 15:36:38 +02:00
Brendan Forster
42f536bb0b Merge branch 'master' into we-dont-need-to-ship-a-yaml-parser 2018-04-03 14:47:26 +10:00
Brendan Forster
2bebf74be3 embed the choosealicense license alongside the license payload 2018-04-03 14:47:22 +10:00
Brendan Forster
63c199877d Merge branch 'master' into pr/3675 2018-04-02 17:54:33 +10:00
Brendan Forster
71caf015c2
Merge branch 'master' into upgrade-yarn-time 2018-03-31 16:30:05 +11:00
Markus Olsson
614f848985
Merge pull request #4198 from jkleinsc/arm64
Add the ability to build arm64 builds
2018-03-29 21:49:29 +02:00
Brendan Forster
835aeb7702 tidy up the things 2018-03-29 18:56:34 +11:00
Brendan Forster
542b8bde84 perform license parsing as part of build proces 2018-03-29 16:51:14 +11:00
Brendan Forster
6c1fadfe76 move the analysis file into dist so that it isn't part of the packaged app 2018-03-29 15:49:33 +11:00
Brendan Forster
a76185792d
Merge branch 'master' into upgrade-yarn-time 2018-03-29 12:29:46 +11:00
William Shepherd
289ae93745
Merge pull request #4336 from desktop/validate-all-the-things
validate the changelog to catch errors before it's time to release
2018-03-28 20:14:29 -05:00
William Shepherd
33162baccf
Merge pull request #4288 from desktop/relax-regex-for-fixed-issue
relax regex rule to catch more merged PRs when generating changelog
2018-03-28 20:13:59 -05:00
Brendan Forster
15bf7e3d0d forgive me padre for i have TYPES 2018-03-28 08:01:23 +11:00
Brendan Forster
4e34d4a870 this message here refers to a non-existant command 2018-03-27 12:39:46 +11:00
Brendan Forster
32d0cea27a lint the changelog file to catch syntax errors 2018-03-27 12:21:02 +11:00
Brendan Forster
2fd937430a update error message 2018-03-27 12:03:08 +11:00
Brendan Forster
c926876209 improve error output 2018-03-27 11:53:14 +11:00
Brendan Forster
cf7f361f34 format the errors from ajv rather than relying on their infrastructure, which loses some context 2018-03-27 11:43:05 +11:00
Brendan Forster
42c187799b work with the object, not just the text 2018-03-27 11:41:59 +11:00
Brendan Forster
c0edc1a9ba this seems helpful 2018-03-27 11:03:41 +11:00
Brendan Forster
1a17c6c092 ajv doesn't seem to care about malformed JSON, gotta do this first as a sanity check 2018-03-27 11:02:00 +11:00
Brendan Forster
04cc3bd122 first pass at script to validate changelog 2018-03-27 10:54:21 +11:00
Brendan Forster
c3dfb3f7e4 Merge branch 'master' into pr/4198 2018-03-27 08:59:27 +11:00
Brendan Forster
1cfee4b4c4 on Windows this needs to be the full cmd file path 2018-03-26 10:23:35 +11:00
Brendan Forster
a775049f6a and one last comment 2018-03-24 12:12:55 +11:00
Brendan Forster
b6bb2a95e2 address review feedback 2018-03-24 12:10:05 +11:00
Brendan Forster
918c8fd64a Merge branch 'master' into upgrade-yarn-time 2018-03-24 12:09:02 +11:00
Brendan Forster
26666adc5f words 2018-03-23 11:23:53 +11:00
Brendan Forster
2cc6be365a add comment to explain hard-coded index 2018-03-23 11:21:24 +11:00
Brendan Forster
3bb4779b63 log what commands are spawned 2018-03-23 08:52:32 +11:00
Brendan Forster
a1d3cc6e89 an even simpler fix 2018-03-22 13:13:18 +11:00
Brendan Forster
a856e93d9f add a sanity check for when an empty log is returned 2018-03-22 13:06:56 +11:00
Brendan Forster
6491dc57f9 we know there are three groups returned, so we can just poke the last value directly 2018-03-22 09:25:45 +11:00
Brendan Forster
2fea7f9b8b refine the regex to catch more scenarios 2018-03-21 17:27:26 +11:00
Brendan Forster
8369d8279a add test for multiple closing statements 2018-03-21 17:26:15 +11:00
Brendan Forster
c79e4fae16 extract function and add tests 2018-03-21 17:15:16 +11:00
Brendan Forster
2939f72f5b some PRs will use Fixed: #XXX which isn't caught by this rule 2018-03-21 17:12:22 +11:00
Brendan Forster
afe26687bf propagate the exitCode up the chain 2018-03-16 18:08:53 +11:00
Brendan Forster
a5b8861cf9 extracting unit tests to a standalone script
This npm script has been unreadable for a long time, and
rather than putting in additional hacks I decided to extract
it to it's own file so that it can be annotated for future
visitors to this fresh hell that I find myself in.
2018-03-16 18:05:06 +11:00
Neha Batra
fdf6c52f0e Update draft-release to match merge conflict resolution decisions
Merging added info around semver
2018-03-14 15:43:21 +01:00
John Kleinschmidt
58b14325a9 Update to build for arm64 2018-03-14 10:21:21 -04:00
Neha Batra
9af853316c Release the Update to the Release Update
nothing has changed but now it's not as much of a secret

Co-Authored-By: Brendan Forster <brendan@github.com>
2018-02-22 02:08:11 -08:00
Jed Fox
72ea02412c Merge branch 'master' into my-hands-are-typing 2018-02-14 17:04:23 -05:00
William Shepherd
5668c45efa
Merge pull request #3916 from desktop/update-prettier-for-stylesheets
update prettier and apply it to SCSS files
2018-02-11 20:05:01 -06:00
Brendan Forster
13bd78c5cd simplify output 2018-02-09 15:47:47 +11:00
Brendan Forster
7ceb9d085a extract function for parsing beta number 2018-02-09 15:30:14 +11:00
Brendan Forster
93e8fb9235 fix test failure 2018-02-09 15:22:56 +11:00
Brendan Forster
d380d279b7 refactor into stages 2018-02-09 15:11:20 +11:00
Brendan Forster
3d5a95a82c some readability 2018-02-09 15:08:15 +11:00
Brendan Forster
e8921e5dbf move this into an options object 2018-02-09 15:04:30 +11:00
Brendan Forster
cdc99e1618 address review feedback 2018-02-09 14:55:45 +11:00
Brendan Forster
ba5c131c0f address review feedback 2018-02-09 14:30:37 +11:00
Brendan Forster
b7eaff7d91 always be erroring 2018-02-06 08:49:37 +11:00
Jed Fox
4a79b8ddb2
Fix logic
Turns out there’s a reason the function was written that way.
2018-02-05 11:40:39 -05:00
Brendan Forster
5d1ad00ef8 ensure you only do this when there aren't uncommitted changes 2018-02-04 22:19:19 +11:00
Brendan Forster
44246b07c7 reorder imports 2018-02-04 22:18:09 +11:00
Brendan Forster
9d38422d0a extra to types 2018-02-04 22:17:04 +11:00
Brendan Forster
4204c88145 handle situation where no changelog entries found 2018-02-04 16:16:58 +11:00
Brendan Forster
3b8a00ddfd introduce production flow 2018-02-04 15:16:32 +11:00
Brendan Forster
5bfcc8e6fc read the existing changelog 2018-02-04 14:55:59 +11:00
Brendan Forster
c568b233db extract function 2018-02-04 14:51:21 +11:00
Brendan Forster
371d94ad64 rename this method to be a bit more specific 2018-02-04 14:49:15 +11:00
Brendan Forster
7b63552f5b make output clearer 2018-02-04 14:02:58 +11:00
Brendan Forster
990ca59d92 better words 2018-02-04 13:41:36 +11:00
Brendan Forster
84003fcf9c port behaviour to new draft-release script 2018-02-04 13:37:26 +11:00
Brendan Forster
3c17c19ee0 extract logic so it can be used with new command 2018-02-04 13:32:55 +11:00
Brendan Forster
255f92962c tidy this up 2018-02-04 13:24:47 +11:00
Brendan Forster
12bde27bf8 a bit of tidy up 2018-02-04 12:17:05 +11:00
Brendan Forster
015f7dba6c constrain the types to known channels 2018-02-04 12:15:29 +11:00
Brendan Forster
2405980484 extract fiddly rules into function and add tests 2018-02-04 11:38:44 +11:00
Brendan Forster
3e581c227d tidy up tests 2018-02-04 10:54:15 +11:00
Brendan Forster
b39015ac97 tags are hard 2018-02-04 10:49:28 +11:00
Brendan Forster
d0c5be50cb mute this warning while i'm hacking on stuff 2018-02-04 10:45:51 +11:00
Brendan Forster
690fdaf47b what about this? 2018-02-04 10:43:10 +11:00
Brendan Forster
82c6b48450 handle stable -> beta flow 2018-02-04 10:39:55 +11:00
Brendan Forster
9ccd7ae161 maybe this? 2018-02-04 10:36:31 +11:00
Brendan Forster
92af1b1f73 first part of drafting a release, what's the version number? 2018-02-04 10:35:47 +11:00
Brendan Forster
da2b4173a1 update prettier and format SCSS files
Co-Authored-By: Jed Fox <git@twopointzero.us>
2018-02-02 10:47:01 +11:00
William Shepherd
c8e2c679ef
Revert "Run Prettier on All The Things" 2018-02-01 17:08:53 -06:00
William Shepherd
bf14e592fa
Merge pull request #3569 from j-f1/its-more-prettier
Run Prettier on All The Things
2018-02-01 17:00:39 -06:00
Jed Fox
3c2042f7a6
Merge branch 'master' into my-hands-are-typing 2018-01-31 13:55:00 -05:00
Brendan Forster
b74f01bc81 newline to break it up 2018-01-31 11:29:09 +11:00
Brendan Forster
3072ce3c1c sort tags to get latest version 2018-01-31 11:14:38 +11:00
Brendan Forster
a7b04e3065 guard against missing tag 2018-01-31 10:52:42 +11:00
Brendan Forster
a3f854a2af lint 2018-01-31 10:52:20 +11:00
Brendan Forster
7c3bd7ce78 import source from what-the-changelog 2018-01-31 10:43:12 +11:00
Brendan Forster
892244c763 this is a new Node API, I'm not going to upgrade @types/node globally just for it 2018-01-31 10:41:29 +11:00
Jed Fox
be47bfe952
'use (modules are already) strict' 2018-01-17 09:55:44 -05:00
Jed Fox
07ed34c4fc TSify dist-info 2018-01-17 09:15:44 -05:00
Jed Fox
3d874ab430 Use the legal-eagle TYPES 2018-01-17 07:26:55 -05:00
Brendan Forster
b562b63122 propagate prettier error 2018-01-12 11:10:23 -04:00
Brendan Forster
838ee2d865 address review feedback 2018-01-08 15:19:14 -04:00
Brendan Forster
8eaaaa2d39 exit code from prettier is already set 2018-01-08 10:36:33 -04:00
Brendan Forster
40c519e401 the script can fix itself 2018-01-08 09:01:14 -04:00
Brendan Forster
d83bda93ef fix for Windows usage 2018-01-08 08:44:22 -04:00
Brendan Forster
7e4443baff extract prettier invocation to script for better control 2018-01-08 08:35:44 -04:00
Jed Fox
53d8d52ac6 Enforce 'use strict' (non-)use 2018-01-06 06:34:12 -05:00
Brendan Forster
1929e7de23 liiint 2018-01-01 12:58:16 -04:00
Jed Fox
d3dcbb63e2 Happy, TS? 2017-12-31 17:53:55 -05:00
Jed Fox
2a7a790296 TSify some more scripts 2017-12-24 11:27:05 -05:00
Jed Fox
7bf71974ff Convert the webpack configs to TS 2017-12-24 11:27:04 -05:00
Jed Fox
a23a482982 Integrate the T Y P E S directly into *-info.js
JSDoc FTW!
2017-12-24 11:27:04 -05:00
Josh Abernathy
2d2feff2aa
Merge pull request #3576 from desktop/prettier-what-are-you-doin
bump to latest stable prettier to address IDE change
2017-12-12 10:40:18 -08:00
Brendan Forster
e9088a0399 lint fiiiix 2017-12-12 16:21:47 +11:00
Brendan Forster
60b06c43b5 else if up in the joint 2017-12-12 10:24:16 +11:00
Brendan Forster
9447b60a0d move this back into indicate it's linux-specific 2017-12-11 11:07:19 +11:00
Brendan Forster
6eed197fd0 fix an issue with the name of our AppImage distro 2017-12-11 10:38:52 +11:00
Brendan Forster
5572b01e1a port to calling electron-builder directly 2017-12-10 22:16:47 +11:00
joshaber
f6a4427387 Use eslint's CLI engine
Mostly written by @j-f1 😄
2017-11-28 11:45:29 -05:00
joshaber
d8fbe81be2 Just use ESLint 2017-11-28 10:33:37 -05:00
Brendan Forster
95257fb988 fix all the new lint errors 2017-11-22 10:49:23 +11:00
joshaber
cc0f805845 Fix the getVersion call 2017-11-21 07:53:00 -05:00
Brendan Forster
1f78ef63d1 ensure we lint these new JS files 2017-11-20 12:30:54 +11:00
Brendan Forster
1f0bab8c7d remove old code from dist-info 2017-11-20 12:30:35 +11:00
Brendan Forster
83f2aa6474 update usages to point to new modules 2017-11-20 12:30:16 +11:00
Markus Olsson
60d52f54c9 Default to TLS1.2 on AppVeyor 2017-11-16 22:07:53 +01:00
Chris Streeter
c444eaafc7
Lint webpack files as well 2017-11-08 12:52:12 -08:00
Brendan Forster
847b312335 port build script to use yarn for generating the node_modules required at runtime 2017-11-07 12:12:28 +11:00
Brendan Forster
a58095938e
Merge branch 'master' into update-generate-octicons 2017-11-07 10:56:33 +11:00
Jed Fox
eaf5c478c9 Run all of the lint:fix commands; echo any lint errors to stdout/stderr 2017-11-04 07:13:05 -04:00
Brendan Forster
2ce115d392 include details with error 2017-11-04 13:47:59 +11:00
Brendan Forster
dc093b0fbe using the right method to launch the cleanup task 2017-11-04 12:28:26 +11:00
Brendan Forster
4bf18cf760 tidy up things 2017-11-04 12:28:26 +11:00
Brendan Forster
e85b5fab1e a simpler script for generating octicons using the NPM package 2017-11-04 12:28:26 +11:00
Brendan Forster
a5c0e321d2 Revert "only run eslint against the TS files under script/"
This reverts commit ab2823ac80.
2017-11-04 10:30:03 +11:00
Brendan Forster
ab2823ac80 only run eslint against the TS files under script/ 2017-11-04 10:26:02 +11:00
Brendan Forster
b2dc1e6ab5 add a tsconfig so we can compile the script folder automatically 2017-11-04 10:25:57 +11:00
Markus Olsson
0830f6915c Merge branch 'master' into shd 2017-10-26 12:16:08 +02:00
Jed Fox
b5876f3fb2 📖 2017-10-22 06:31:35 -04:00
Jed Fox
00db0d956d Tell people to yarn eslint:fix instead of npm run eslint:fix 2017-10-21 16:57:17 -04:00
Jed Fox
760a0047c9 Use chalk to clean up the escape codes in eslint.ts 2017-10-21 16:38:13 -04:00
Jed Fox
d8ceeffe53 Fix lint-disabling comments 2017-10-19 19:04:47 -04:00
Jed Fox
254c5661a3 Revert "Revert "ESLint for great justice: Episode I""
This reverts commit 45e7b216ea.
2017-10-19 19:01:08 -04:00
Markus Olsson
5a3e706f42 Merge branch 'master' into shd 2017-10-19 16:26:18 +02:00
Brendan Forster
02ef7ec451 tidy up declarations 2017-10-17 09:35:39 +11:00
Brendan Forster
9c3d715477 Merge branch 'master' into some-more-types 2017-10-17 09:18:08 +11:00
Markus Olsson
2bb0a0ca07 Merge branch 'master' into shd 2017-10-16 15:12:34 +02:00
Brendan Forster
b096011efa Merge branch 'master' into bump-to-npm-5-finally 2017-10-16 11:21:01 +11:00
Brendan Forster
309453d4fa add declarations for linux libraries 2017-10-15 17:26:35 +11:00
Brendan Forster
83666ceec4 tidy up imports 2017-10-15 17:05:28 +11:00
Brendan Forster
07abf318c0 port script to TS, cleanup errors 2017-10-15 17:02:33 +11:00
Markus Olsson
233b6b3332 Don't typecheck all files, just the referenced ones
See https://stackoverflow.com/questions/43234525/awesome-typescript-loader-load-compile-only-refrenced-files
2017-10-14 15:45:21 +02:00
Josh Abernathy
ffec2323d6 Merge pull request #2372 from j-f1/better-cli
Better CLI
2017-10-13 09:49:23 -04:00
Brendan Forster
adeffa55ba Merge branch 'master' into bump-to-npm-5-finally 2017-10-11 10:26:30 +11:00
Brendan Forster
e9c75d3a25 use yarn to run custom scripts 2017-10-10 11:21:21 +11:00
Brendan Forster
c503ff9a48 what if we do it serially? 2017-10-10 09:20:33 +11:00
Brendan Forster
ff1b0e2dc8 tidy up things now we know a bit more about what's happening 2017-10-10 09:20:33 +11:00
Brendan Forster
edda6e52fa add support for generating AppImage package 2017-10-10 09:20:33 +11:00
Brendan Forster
5be892dd46 add support for generating rpm package 2017-10-10 09:20:33 +11:00
Brendan Forster
e380e4e2c7 add support for generating deb package 2017-10-10 09:20:33 +11:00
Jed Fox
fae04a3ac4 Merge branch 'master' into better-cli 2017-09-29 07:51:49 -04:00
Jed Fox
909d521a2f Address review comments 2017-09-27 07:50:53 -04:00
Brendan Forster
e67167d597 Merge branch 'master' into better-cli 2017-09-27 12:29:09 +10:00
Jed Fox
9d0735b7fc Don’t exit immediately after a bad viewBox match 2017-09-25 16:50:17 -04:00
Jed Fox
89f293f251 npm run prettify 2017-09-25 16:49:22 +00:00
Jed Fox
546869b4c9 Use UTF-8 encodings when reading and writing files 2017-09-25 15:43:55 +00:00
Jed Fox
d7b3ec0b5c Convert generate-octicons to TypeScript 2017-09-25 15:43:55 +00:00
Josh Abernathy
8c7d869d82 Merge pull request #2852 from desktop/cleanup-some-git-files
cleanup some git files
2017-09-25 09:41:18 -04:00
Brendan Forster
2ccea3e634 no need to stat if we're just unlinking the file 2017-09-25 22:21:57 +10:00
Brendan Forster
7a98da3761 remove the global 2017-09-24 10:01:59 +10:00
Brendan Forster
07cfae2d91 update usages to imports 2017-09-24 10:01:43 +10:00
Brendan Forster
e71df87cdf introduce standalone declaration 2017-09-24 09:59:59 +10:00
Brendan Forster
1980b2d63c tidy up some unneeded components from the Git installation 2017-09-23 19:54:08 +10:00
Brendan Forster
668e033781 use the triple dot character 2017-09-23 19:52:37 +10:00
Brendan Forster
194f2553cf update usage 2017-09-23 13:30:46 +10:00
Brendan Forster
b2e2570108 add getDistRoot to tidy up duplicated code 2017-09-23 13:30:36 +10:00
Brendan Forster
12ae43f448 update existing usages and remove duplicate declarations 2017-09-23 13:24:30 +10:00
Brendan Forster
cda26123e1 add a global declaration for the distInfo module 2017-09-23 13:21:15 +10:00
Brendan Forster
6ac627333e throw an error up to be consistent with other functions in dist-info 2017-09-23 13:19:43 +10:00
Brendan Forster
ec16a09240 bad merge yo 2017-09-22 10:37:35 +10:00
Brendan Forster
9d0950ebea Merge branch 'master' into better-cli 2017-09-22 10:12:22 +10:00
Brendan Forster
8727ad220a string comparisons are hard 2017-09-21 16:57:02 +10:00
Brendan Forster
b1508fd944 make error messages more explicit 2017-09-21 16:56:55 +10:00
Brendan Forster
4d9834e3bc validate tip matches tagged build before publishing 2017-09-21 16:56:49 +10:00
Brendan Forster
6ebb9ad18f extract getSHA function so it can be used elsewhere 2017-09-21 16:56:41 +10:00
Josh Abernathy
45e7b216ea Revert "ESLint for great justice: Episode I" 2017-09-20 14:10:29 -04:00
Jed Fox
28734d7971 Merge branch 'master' into eslint 2017-09-14 18:01:16 -04:00
Brendan Forster
7e5216b388 Merge branch 'master' into better-cli 2017-09-13 11:24:49 +09:30
joshaber
25c28fe40f Maybe this? 2017-09-12 12:18:38 -04:00
joshaber
7dbc16e6f0 And try this again 2017-09-12 12:00:08 -04:00
joshaber
443b14a4bb Baby come back 2017-09-12 11:44:42 -04:00
joshaber
9227d32b89 Move stuff around? 2017-09-12 11:00:10 -04:00
joshaber
9cfe96738f Maybe just use Circle's keychain? 2017-09-12 10:40:19 -04:00
joshaber
35d7b8bd21 Revert "Specify the keychain"
This reverts commit c19ef349a6.
2017-09-12 10:39:54 -04:00
joshaber
c19ef349a6 Specify the keychain 2017-09-12 09:51:38 -04:00
joshaber
502bab266a Back to CI 2017-09-12 09:01:02 -04:00
joshaber
950e4961ec Revert "Just name it CI"
This reverts commit e9720d7f35.
2017-09-12 08:48:11 -04:00
joshaber
9b3f323db2 Always throw the logs up 2017-09-12 08:30:03 -04:00
joshaber
8e57a8cbbf Circle is the future 2017-09-12 08:29:55 -04:00
joshaber
e9720d7f35 Just name it CI 2017-09-12 07:59:55 -04:00
Jed Fox
43ef4d7ac7 *sigh* compatibility 2017-08-21 18:37:40 -04:00
Jed Fox
807d6a13fb Let the user know they can run eslint:fix to fix some errors 2017-08-21 18:25:01 -04:00
Jed Fox
4d53823954 Fix lint (again) 2017-08-21 15:44:41 -04:00
Jed Fox
b8b6589c22 Always use eslint_d 2017-08-21 15:37:05 -04:00
Jed Fox
f34a0dfed0 Paths matter II 2017-08-21 12:14:16 -04:00
Jed Fox
be91471d09 Paths matter 2017-08-21 08:21:20 -04:00
Jed Fox
b0a9c92dbf npm run prettify 2017-08-21 07:14:31 -04:00
Jed Fox
a0df7dbfff Merge branch 'master' into better-cli 2017-08-21 07:09:09 -04:00
Jed Fox
053fbab16c Load the CLI commands from script/dist-info 2017-08-21 06:55:04 -04:00
Brendan Forster
216b1eaca8 Merge branch 'master' into eslint 2017-08-21 12:52:12 +10:00
Jed Fox
0e32a68686 Take args in script/eslint; 2017-08-18 11:30:45 -04:00
Jed Fox
73071b1f18 Lint script/ 2017-08-18 11:30:43 -04:00
Jed Fox
21e74cee14 Cache for more speed 2017-08-18 11:30:43 -04:00
Jed Fox
c0b15df652 Use eslint_d to speed up linting 2017-08-18 11:30:43 -04:00
Jed Fox
8f48ce41c5 eslint-plugin-prettier
Also, get rid of the Prettier-related scripts in package.json
2017-08-18 11:30:37 -04:00
Brendan Forster
176600b71d bump dependencies and use filesystem for package 2017-08-18 14:40:31 +10:00
Brendan Forster
e998e7a7f1 workaround for packaging issue with app-path 2017-08-10 10:46:04 +10:00
joshaber
22b7f7840f Sure that's readonly too 2017-08-09 16:47:13 -04:00
joshaber
af4bce1d73 Use protocols instead of protocolName and protocol 2017-08-09 16:44:41 -04:00
Brendan Forster
31816ee076 what even is JS? 2017-08-07 15:01:19 +10:00
Brendan Forster
1e04143f68 tidy up emoji copy code 2017-08-07 06:43:02 +10:00
Brendan Forster
8f162d8f14 use the arguments 2017-08-07 06:35:59 +10:00
Brendan Forster
178db9147b remove optional parameters 2017-07-31 10:31:31 -03:00
Brendan Forster
6ad25c00b7 merge protocols back into config 2017-07-31 10:31:22 -03:00
Brendan Forster
8e2c0f05ab simpler syntax here 2017-07-28 17:30:58 -03:00
Brendan Forster
3e5eb00f63 a couple of tweaks 2017-07-28 17:28:38 -03:00
Brendan Forster
be82581a80 port build script to TS 2017-07-28 17:07:31 -03:00
Brendan Forster
65761a4383 friends don't let friends copy-paste 2017-07-27 20:28:29 -03:00
Brendan Forster
e714691c4c signatures are hard 2017-07-27 18:37:39 -03:00
Brendan Forster
da5e0562f8 wrap the dist-info requires in some declarations 2017-07-27 17:14:09 -03:00
Brendan Forster
bd9b9ec5d9 extract module to simplify reading log files 2017-07-26 16:27:18 -03:00
Brendan Forster
01a9898b7b port test-review script to TS 2017-07-26 16:14:46 -03:00
Brendan Forster
8207086bfd port test-setup script to TS 2017-07-26 16:14:40 -03:00
Brendan Forster
dcea9d3d1e copy platform-specific files across if the folder exists 2017-07-24 17:44:53 -03:00
Brendan Forster
ee5ff2b67a update user data path to lookup for more specific path on Linux 2017-07-24 17:42:42 -03:00
Markus Olsson
072f368cec Merge branch 'master' into apply-the-cleansing-fire 2017-07-24 08:52:35 +02:00
Markus Olsson
3eff964277 Merge pull request #2239 from desktop/generate-deltas
Generate deltas
2017-07-24 08:51:48 +02:00
joshaber
962074f266 Merge branch 'master' into apply-the-cleansing-fire 2017-07-21 12:07:18 -04:00
Chris Streeter
49832b3e3a
A few places missed by #2271 2017-07-20 11:32:14 -07:00
joshaber
e73a76a4bf Merge branch 'master' into generate-deltas 2017-07-20 14:13:07 -04:00
Philip Chimento
a82b32d586 Run on linux platform
Without this, you get the message "I dunno how to run on x64 :("
2017-07-19 10:10:14 -07:00
joshaber
b8fcea42a9 Merge branch 'master' into apply-the-cleansing-fire 2017-07-17 12:24:17 -04:00
joshaber
a63488b6a3 Provide custom setup names 2017-07-14 10:29:50 -04:00
joshaber
898cc94b0a Use the exeName in more places 2017-07-14 10:20:20 -04:00
joshaber
e389104801 Use the Nuget pkg name for the buld too 2017-07-14 10:14:27 -04:00
joshaber
0f5d05874f Use our Nuget pkg name as the exe name and try a separate title 2017-07-14 10:05:04 -04:00
joshaber
d8018b3611 Update the error message 2017-07-13 15:43:51 -04:00
joshaber
feed145360 Get the branch name 2017-07-13 14:39:33 -04:00
joshaber
398de4c5e3 🔥 J S 🔥 2017-07-13 14:19:13 -04:00
joshaber
e3bb82da93 Don't try to upload deltas that don't exist 2017-07-13 14:09:07 -04:00
joshaber
46bd5eeff3 Merge branch 'master' into generate-deltas 2017-07-13 13:52:36 -04:00
joshaber
bb042c8977 Don't build deltas for test releases 2017-07-13 13:49:13 -04:00
joshaber
4b307c843b Call the right function 2017-07-13 12:01:47 -04:00
joshaber
a838f56aea Upload the delta too 2017-07-13 11:49:24 -04:00
joshaber
8c7ae9ffd8 Get the delta name and path 2017-07-13 11:49:16 -04:00
joshaber
2e9a7ac964 Don't use NODE_ENV here 2017-07-13 11:22:53 -04:00
joshaber
ad99b0ff64 Update our glob pattern everywhere 2017-07-13 11:15:44 -04:00
joshaber
09580bab95 Make em shine 2017-07-13 11:11:04 -04:00
joshaber
f59a4c194c Ensure we have a branch name 2017-07-13 11:01:57 -04:00
joshaber
1e47d06a17 Use the channel to determine whether to publish 2017-07-13 10:39:46 -04:00
joshaber
51545386f7 Provide the remoteReleases URL 2017-07-13 10:32:17 -04:00
joshaber
857fcbc7fc Revert "Revert "Prefer NODE_ENV if it's there""
This reverts commit b7769c8897.
2017-07-13 10:31:56 -04:00
joshaber
b7769c8897 Revert "Prefer NODE_ENV if it's there"
This reverts commit 774830eedd.
2017-07-13 10:31:15 -04:00
joshaber
774830eedd Prefer NODE_ENV if it's there 2017-07-13 10:30:09 -04:00
joshaber
4ad736bd39 Add getReleaseChannel() 2017-07-13 10:28:20 -04:00
joshaber
c40a3c4d80 Prettier 2017-07-13 10:21:09 -04:00
joshaber
b2c5e2957e Prettier 2017-07-13 10:09:34 -04:00
joshaber
0d4781b044 Prettier this too 2017-07-13 09:36:37 -04:00
joshaber
8b6388343d Prettier 2017-07-13 09:35:24 -04:00
joshaber
095d88d607 Merge branch 'master' into apply-the-cleansing-fire 2017-07-12 10:32:08 -04:00
Markus Olsson
3246ffd221 Spaces are significant in globs 2017-07-07 15:02:17 +02:00
joshaber
ccadb990e7 Merge branch 'master' into apply-the-cleansing-fire 2017-06-29 16:56:44 -07:00
iAmWillShepherd
a1b23c0c80 Add some helpful text 2017-06-29 15:15:00 -07:00
iAmWillShepherd
fdf209ed8f Fix indentation 2017-06-29 15:14:23 -07:00
iAmWillShepherd
8f1fc989ee Updated CI checks 2017-06-29 11:44:32 -07:00
iAmWillShepherd
4f7d167900 Update prettier options 2017-06-29 10:59:13 -07:00
iAmWillShepherd
f090e907a4 Add that colon tho 2017-06-28 17:20:03 -07:00
iAmWillShepherd
f6a9b8176f Explictly set parser 2017-06-28 16:57:36 -07:00
iAmWillShepherd
7cbc89f632 Read the actual file contents 2017-06-28 16:57:36 -07:00
iAmWillShepherd
ef8eb1644b Show ugly files 2017-06-28 16:57:36 -07:00
iAmWillShepherd
b46dc99f05 Add some CI love 2017-06-28 16:57:36 -07:00
joshaber
a9b1bc93eb WIP 2017-06-22 15:38:57 -04:00
Josh Abernathy
f9a18968e9 Merge pull request #2059 from desktop/log-bundle-size
Log bundle sizes
2017-06-21 14:43:17 -04:00
Brendan Forster
5b7601295c drop travis-specific cleanup 2017-06-20 15:48:56 +02:00
joshaber
a866054a67 Gotta export it 2017-06-19 16:57:44 -04:00
joshaber
75b1717f77 Send the deployment stats 2017-06-19 16:35:58 -04:00
joshaber
e28398e26a Add getBundleSizes 2017-06-19 16:35:46 -04:00
Brendan Forster
f405a55879 tidy up output 2017-06-19 17:02:19 +02:00
Brendan Forster
9516885106 actually just map it to directory 2017-06-19 12:30:49 +02:00
Brendan Forster
99f46b458f and remove any existing application data when running on CI 2017-06-19 12:03:46 +02:00
Brendan Forster
88e214a447 we moved logs under logs subdirectory 2017-06-19 12:02:02 +02:00
Brendan Forster
5b30a4b9b1 spike for validating the codesigning result 2017-06-19 11:34:28 +02:00
iAmWillShepherd
5319541810 Add protocol to build 2017-06-07 10:57:46 -05:00
Brendan Forster
8e24bc6d70 no need to mess with environment variables 2017-06-06 13:44:48 -03:00
Brendan Forster
674b3b5f75 oops, this will throw for non-zero exit code 2017-06-06 10:16:30 -03:00
Brendan Forster
e342ff4e14 ensuring consistency in line endings when running CI 2017-06-06 09:51:52 -03:00
Brendan Forster
d979d88417 add config values for diagnostics when running tests 2017-06-06 08:33:37 -03:00
Brendan Forster
aae658c907 a bit of cleanup 2017-05-31 12:05:00 -03:00
Brendan Forster
75a95edaef and embed the actual license on disk 2017-05-31 11:29:44 -03:00
Brendan Forster
dbafa059cf simplify 2017-05-29 15:26:06 -03:00
Brendan Forster
e3219a1954 bundle the license in the static folder and pull that in 2017-05-29 15:26:06 -03:00
Markus Olsson
8e8913387f Show output from main process when running npm start 2017-05-17 15:04:15 +02:00
Markus Olsson
2773bc189f Update the icon url 2017-05-16 10:36:27 +02:00
joshaber
3959bca94d Share the Widnows identifer name 2017-05-12 14:32:51 -04:00
joshaber
a11f432541 Use the product name for the nuget package 2017-05-12 14:27:27 -04:00
William Shepherd
fe5a7d9ef9 Merge pull request #1440 from desktop/installer-jiff
Installer jiff
2017-05-12 10:38:49 -05:00
Josh Abernathy
0eda2a4264 Merge pull request #1441 from desktop/uniqueier-app-id
Uniqueier app id
2017-05-12 11:29:01 -04:00
Markus Olsson
b31429e32d Revert "Only clean up certificate when packaging on appveyor"
This reverts commit a39e0339f5.
2017-05-12 08:11:28 +02:00
Markus Olsson
974c8a4b23 Revert "🎨 Cleanup"
This reverts commit 27fae6655d.
2017-05-12 08:11:27 +02:00
Markus Olsson
9567ff44b4 Revert "Whoops"
This reverts commit 47d2cce333.
2017-05-12 08:11:25 +02:00
Markus Olsson
a11985bb6a Revert "🎨 Cleanup"
This reverts commit 2f12512a41.
2017-05-12 08:11:23 +02:00
Markus Olsson
f7f0a8850a Revert "My kingdom for types"
This reverts commit 8fc80297dd.
2017-05-12 08:11:20 +02:00
Markus Olsson
2112882fbf Revert "omggg"
This reverts commit 92422722be.
2017-05-12 08:11:10 +02:00
Markus Olsson
0613b315b3 Everything is painful 2017-05-11 22:55:16 +02:00
Markus Olsson
af951f9ecc Use a more unique AppID than 'desktop' 2017-05-11 22:31:09 +02:00
Markus Olsson
062f4fab0d Download the icon from our CDN 2017-05-11 22:19:17 +02:00
Markus Olsson
92422722be omggg 2017-05-11 21:33:13 +02:00
Markus Olsson
8fc80297dd My kingdom for types 2017-05-11 21:27:21 +02:00
Markus Olsson
2f12512a41 🎨 Cleanup 2017-05-11 21:22:55 +02:00
Markus Olsson
47d2cce333 Whoops 2017-05-11 21:22:48 +02:00
Markus Olsson
27fae6655d 🎨 Cleanup 2017-05-11 21:21:02 +02:00
Markus Olsson
a39e0339f5 Only clean up certificate when packaging on appveyor 2017-05-11 21:20:38 +02:00
Markus Olsson
d8e76a6e18 Move the splash screen to the logos directory
It's not copied as part of the build step
2017-05-11 21:16:43 +02:00
Markus Olsson
32843e9054 Add a splash screen gif for the installer 2017-05-11 21:11:01 +02:00
Brendan Forster
bbf62d3987 bump installer icon to newest version 2017-05-09 09:35:02 +10:00
Markus Olsson
a22d3168cf Clean before copying 2017-04-28 08:34:18 +02:00