Ryan Dahl
00884d7164
Add rustfmt to third_party.
2018-10-20 01:19:59 -04:00
Ryan Dahl
c61a0f2f84
First pass at http benchmark.
2018-10-16 09:37:38 -04:00
Ryan Dahl
d4f72e18be
Improve tools/unit_tests.py ( #958 )
...
Checks the output more carefully. The first line of output from
js/unit_tests.ts should be something like "running 96 tests"
And the last line should be something like
"test result: ok. 96 passed; 0 failed; 0 ignored; 0 measured; 36
filtered out"
This parses those strings and make sure they align.
This will catch silent death bugs.
2018-10-11 16:56:50 -04:00
Bert Belder
4c6f37cec3
tools: define ERROR_INVALID_PARAMETER in utils.py
...
Fixes #865 .
2018-09-30 12:44:58 -07:00
Bert Belder
1b9424e9d7
tools: add shell_quote() utility function
2018-09-26 09:52:30 -07:00
Bert Belder
2e3a8b495d
tools: make color output work on windows
2018-09-24 13:45:03 -07:00
Ryan Dahl
790baae673
Expose deno.exit() and add test.
2018-08-21 18:34:56 -04:00
Kitson Kelly
c4cafcecb1
Support wildcard matching of output in tests
2018-08-10 11:50:45 -07:00
Bert Belder
788b0795de
util: make symlink() work on older Windows versions
2018-08-02 02:59:37 +02:00
Bert Belder
e5b7d31aba
tools/setup: avoid running gn gen
twice in the same output directory
2018-08-02 02:59:36 +02:00
Ryan Dahl
db65c723ae
Rename run_hooks.py to setup.py
...
Moves 'gn gen' into setup.py
Make tools/build.py more ergonomic.
2018-07-29 00:24:16 -04:00
Ryan Dahl
6b49944da1
Simplify run_rustc.py output.
2018-07-26 11:38:03 -04:00
Bert Belder
4d08bb85a4
Clean up and fix tools
...
* Make sync_third_party work in general
* Un-break build.py and run_hooks.py on windows
* Partially fix format.py on windows
* Reduce code duplication between run_hooks and sync_third_party
2018-07-25 20:13:17 +02:00
Ryan Dahl
7baf8a0fd1
Fix recursive globbing in tools/format.py
...
And use third_party/depot_tools/gn.
2018-07-24 12:29:54 -04:00
Ryan Dahl
dff5c16e85
Add tools/test.py test runner. ( #384 )
2018-07-21 19:08:24 -04:00
Bert Belder
709b0cb90c
Fix symlink creation on windows
2018-07-21 13:04:11 -04:00
robbym
d93bd4b127
Use Cargo to install rust deps into //third_party/rust_crates ( #383 )
2018-07-18 20:00:53 -04:00
Ryan Dahl
d78254009e
Reduce unnecessary build output.
2018-07-18 15:43:50 -04:00
Bert Belder
7c5db007de
tools: fix windows
...
This fixes most things, but format.py doesn't work yet, because
yapf is broken due to some depot_tools shimming python.
2018-07-08 13:40:18 -04:00
Ryan Dahl
f917c5e722
Clean up tools/
...
- Factor out tools/util.py
- Move js/*.py to tools.
- Rewrite tools/format.sh in python.
- Run lint first in travis.
2018-07-08 13:40:18 -04:00