Age | Commit message (Collapse) | Author |
|
This is more optimial and this fixes a problem where occasionally
remove_and_symlink will error with:
gen/compiler_bundle/main.js --sourcemapFile /Users/rld/src/deno --silent
Traceback (most recent call last):
File "../../tools/run_node.py", line 18, in <module>
util.remove_and_symlink(target_rel, "node_modules", True)
File "/Users/rld/src/deno/tools/util.py", line 103, in remove_and_symlink
symlink(target, name, target_is_dir)
File "/Users/rld/src/deno/tools/util.py", line 141, in symlink
os.symlink(target, name)
OSError: [Errno 17] File exists
|
|
|
|
|
|
|
|
It's annoying, and it also makes appveyor slow because it will re-upload
the third_party cache every time something changes in there.
|
|
|
|
|
|
|
|
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.
|
|
Fixes #865.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Moves 'gn gen' into setup.py
Make tools/build.py more ergonomic.
|
|
|
|
* 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
|
|
And use third_party/depot_tools/gn.
|
|
|
|
|
|
|
|
|
|
This fixes most things, but format.py doesn't work yet, because
yapf is broken due to some depot_tools shimming python.
|
|
- Factor out tools/util.py
- Move js/*.py to tools.
- Rewrite tools/format.sh in python.
- Run lint first in travis.
|