Commit graph

176 commits

Author SHA1 Message Date
Mike Treit
4d6bccb661 Fix missing 'set' command that was causing a useless error. 2016-11-23 13:56:48 -08:00
Joao Moreno
9624568986 check electron version at dev time
fixes #15553
2016-11-17 11:15:08 +01:00
Joao Moreno
6796c10fe5 check electron version in code.sh: osx linux
#15553
2016-11-17 10:16:06 +01:00
Benjamin Pasero
97bef4bdc6 Update to electron 1.4.x (#15298)
* electron 1.4.6

* fix broken DND image feedback

* OSS input

* remove cat.exe as it is no longer needed

* update electron.d.ts

* set new ELECTRON_NO_ASAR environment for forked processes

* Automatically enable high contrast theme when enabled in Windows (fixes #15360)
2016-11-14 14:27:53 +01:00
Joao Moreno
c57061115c allow debugging cli process 2016-10-24 10:00:30 +02:00
Alex Dima
b00c572927 Fix missing copyright header 2016-10-21 09:38:14 +02:00
Alex Dima
fcbe48844e Add monaco-editor-setup script 2016-10-21 09:16:06 +02:00
Benjamin Pasero
8531bff95a Revert "Add monaco-editor-setup script"
This reverts commit 9e1b35badb.
2016-10-20 06:29:12 +02:00
Alex Dima
9e1b35badb Add monaco-editor-setup script 2016-10-19 18:56:31 +02:00
Alex Dima
5a54dad1ca I can't see the test output due to bad ANSI code handling 2016-09-21 11:52:47 +03:00
Benjamin Pasero
dff1153946 windows: dot reporter is better given our cat.exe workaround 2016-09-16 11:09:00 +02:00
Benjamin Pasero
605857e345 force colors when running mocha tests on windows 2016-09-16 08:33:02 +02:00
Benjamin Pasero
6fa85223ef Electron Update 1.x (#11157)
* use electron 1.3.4

* ATOM_SHELL_INTERNAL_RUN_AS_NODE => ELECTRON_RUN_AS_NODE

* OSS input

* update electron.d.ts

* workaround for #8708

* bump oniguruma and chokidar with custom fsevents

* build with appveyor config from master

* oops, still use ELECTRON_RUN_AS_NODE

* use electron 1.3.5

* optional fsevents

* add cat.exe to workaround output issues

* use cat for tests

* remove some now obsolete ELECTRON_NO_ATTACH_CONSOLE

* also pipe output to cat for code.sh on windows

* unset ELECTRON_RUN_AS_NODE for appveyor

* fix tfs builds?

* fix build

* fix build?

* use cat only when running tests locally
2016-09-14 07:29:20 +02:00
Benjamin Pasero
6a720e153e try to get output for tests on appveyor 2016-09-02 07:43:02 +02:00
Joao Moreno
84ccb059fa fix test launch script 2016-08-26 12:10:54 +02:00
Christof Marti
434e653295 Add VSCODE_DEV=1 2016-08-19 15:18:03 -07:00
Joao Moreno
06d8543173 its tough 2016-08-09 17:57:09 +02:00
Joao Moreno
a5bc5e2ee6 damn it 2016-08-09 17:56:12 +02:00
Joao Moreno
838ada3612 make code launchers specific on the flavor 2016-08-09 17:13:08 +02:00
João Moreno
b7a19b4224 adapt to code.exe 2016-08-09 17:11:07 +02:00
Joao Moreno
42832a3a68 fix code-cli 2016-08-09 16:25:29 +02:00
Joao Moreno
e0cddc8bc6 improve test script 2016-08-09 15:27:30 +02:00
Joao Moreno
a8e9286f46 fix build 2016-08-09 15:26:47 +02:00
João Moreno
312a53ef2c win32: customize plain electron for dev 2016-08-09 11:11:28 +02:00
Joao Moreno
3eafa6db3b linux: customize plain electron for dev 2016-08-09 10:30:51 +02:00
Joao Moreno
ebf9722e2e darwin: customize plain electron for dev 2016-08-09 10:14:00 +02:00
Joao Moreno
18beedd450 improve consistency in env sent to renderer procs
fixes #10194
2016-08-08 16:12:37 +02:00
Benjamin Pasero
0525466708 back to ATOM_SHELL_INTERNAL_RUN_AS_NODE 2016-07-08 16:12:10 +02:00
Benjamin Pasero
5d1affed4b ATOM_SHELL_INTERNAL_RUN_AS_NODE => ELECTRON_RUN_AS_NODE 2016-07-02 08:39:01 +02:00
Daniel Imms
23c927e387 Remove echo left in from last commit 2016-05-20 15:44:50 -07:00
Daniel Imms
b6095e9d85 Fix opening files with spaces via CLI on Linux
Fixes #6525
2016-05-20 15:42:44 -07:00
Johannes Rieken
aba7f12b1d remove pwd debug statement 2016-05-10 17:24:02 +02:00
Johannes Rieken
be5a691a36 dbk - cd to $ROOT 2016-05-10 16:42:51 +02:00
Johannes Rieken
4a782befbb dbk - add pwd to test.sh 2016-05-10 16:15:48 +02:00
Joao Moreno
cb9b185237 faster code.bat 2016-05-04 11:26:38 +02:00
Joao Moreno
1d5fdb1a03 earlier .build/electron test 2016-05-04 09:33:58 +02:00
Benjamin Pasero
8334c89462 set npm_config_runtime 2016-05-03 16:18:59 +02:00
Benjamin Pasero
da7d451328 specify runtime for npm install 2016-05-03 15:43:36 +02:00
Benjamin Pasero
c315e818c0 fix comment 2016-04-29 10:36:45 +02:00
Benjamin Pasero
1c5de53015 only set integration tests variables on appveyor? 2016-04-29 10:35:31 +02:00
Benjamin Pasero
ffc125aa51 unset "run as node" 2016-04-29 09:59:23 +02:00
Benjamin Pasero
0e9c89080c set ELECTRON_NO_ATTACH_CONSOLE=1 2016-04-29 09:44:54 +02:00
Alexandru Dima
a05cb186d7 Add test-integration.bat 2016-04-28 16:15:39 +02:00
Joao Moreno
9e6c1612c4 add code-cli.sh 2016-04-22 11:08:16 +02:00
Daniel Imms
e8f9d90b12 Have test.sh compile code if necessary
This removes the need to run ./scripts/code.sh first

Fixes #5587
2016-04-20 17:41:11 -07:00
Martin Aeschlimann
24dfa08f6f Theme tests as extension test 2016-04-08 23:26:12 +02:00
Joao Moreno
460783f343 split tests 2016-03-08 11:51:00 +01:00
Phillip Johnsen
a3e4855bcc Use local version of gulp in ./scripts/code.sh.
As with #3649 it removes the need for global installation of gulp.
This was already the case for the windows, in ./scripts/code.bat.
2016-03-03 20:50:12 +01:00
João Moreno
505e954a4f only disable console attachment when in TFS 2016-03-03 17:20:48 +01:00
Joao Moreno
2139bfece6 refactor 2016-03-03 11:26:05 +01:00
Joao Moreno
3249f6960e make batch file return non zero on test fail 2016-03-03 11:17:48 +01:00
Joao Moreno
d4083f3dac use ELECTRON_NO_ATTACH_CONSOLE 2016-03-03 11:00:56 +01:00
Joao Moreno
8c34045f0f use start 2016-03-03 10:50:52 +01:00
Joao Moreno
5705c820bb remove echo off from tests 2016-03-03 10:33:05 +01:00
João Moreno
5bf2ca9681 Merge pull request #3103 from jamesqo/patch-1
Forward arguments in the shell script correctly: use "$@" instead of $*
2016-02-18 17:12:46 +01:00
Alex Dima
3e78859e24 Don't leak env variables from batch files 2016-02-18 16:50:53 +01:00
James Ko
9a40a06a46 Forward arguments correctly: use "$@" instead of $*
Also added an exec to improve performance (which replaces the current process instead of spawning a subshell),
and changed the shebang to #!/usr/bin/env as this is best practice.
2016-02-18 00:47:09 -05:00
Joao Moreno
d46c0646f2 move back to ATOM_SHELL_INTERNAL_RUN_AS_NODE 2016-02-15 11:07:22 +01:00
Joao Moreno
4821ad5f43 use ELECTRON_RUN_AS_NODE 2016-02-12 12:43:24 +01:00
xzper
8a850be7fc replace powershell with findstr 2016-01-20 13:27:52 +08:00
João Moreno
2db3302987 do not rename electron.exe 2016-01-13 11:15:03 +01:00
Joao Moreno
3e690ee703 fail test script on error 2016-01-12 16:59:22 +01:00
Joao Moreno
027ba03e63 enable tests 2016-01-12 16:29:10 +01:00
Joao Moreno
55963623d7 skip integration tests 2016-01-12 16:17:34 +01:00
João Moreno
c0b229aadb fix test.bat 2016-01-11 16:14:37 +01:00
Benjamin Pasero
059e335427 Revert "ATOM_SHELL_INTERNAL_RUN_AS_NODE => ELECTRON_RUN_AS_NODE"
This reverts commit 37dbbb3573.
2016-01-08 17:32:21 +01:00
Benjamin Pasero
37dbbb3573 ATOM_SHELL_INTERNAL_RUN_AS_NODE => ELECTRON_RUN_AS_NODE 2016-01-05 16:32:32 +01:00
Joao Moreno
00865464d2 scripts/test
#1523
2016-01-04 12:35:35 +01:00
Benjamin Pasero
1831ca39f2 Windows: Running code in a console after code.bat was run causes issues (fixes #1438) 2015-12-18 09:21:19 +01:00
Benjamin Pasero
374cfd1507 set ELECTRON_DEFAULT_ERROR_MODE when running code.bat and crash reporter is not enabled 2015-12-01 15:26:04 +01:00
Joao Moreno
ca49e38ea4 fix the build 2015-11-26 14:36:25 +01:00
Joao Moreno
0b6f18f623 compile before code
#22
2015-11-26 10:07:11 +01:00
Joao Moreno
4a85ac575c run npm install on scripts/code
#22
2015-11-26 09:29:49 +01:00
Joao Moreno
e22834e316 place electron in .build/electron
related to #22
2015-11-26 09:03:36 +01:00
Joao Moreno
5fc7cc270e fix #67 2015-11-18 18:30:13 +01:00
Erich Gamma
8f35cc4768 Hello Code 2015-11-13 14:39:38 +01:00