summaryrefslogtreecommitdiff
path: root/tools/util.py
AgeCommit message (Collapse)Author
2019-01-15 Add --prefetch flag for deps prefetch without running (#1475)Kevin (Kun) "Kassimo" Qian
2018-12-11tools: remove_and_symlink can be skipped on unixRyan Dahl
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
2018-11-30Use pylint.Ryan Dahl
2018-11-08build: Use target/ instead of out/ (#1153)Ryan Dahl
2018-11-04Improve integration test harness (#1142)Kitson Kelly
2018-10-23format: don't format files in third_partyBert Belder
It's annoying, and it also makes appveyor slow because it will re-upload the third_party cache every time something changes in there.
2018-10-23Bundle pywin32 in third_partyBert Belder
2018-10-20Add rustfmt to third_party.Ryan Dahl
2018-10-16First pass at http benchmark.Ryan Dahl
2018-10-11Improve tools/unit_tests.py (#958)Ryan Dahl
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-09-30tools: define ERROR_INVALID_PARAMETER in utils.pyBert Belder
Fixes #865.
2018-09-26tools: add shell_quote() utility functionBert Belder
2018-09-24tools: make color output work on windowsBert Belder
2018-08-21Expose deno.exit() and add test.Ryan Dahl
2018-08-10Support wildcard matching of output in testsKitson Kelly
2018-08-02util: make symlink() work on older Windows versionsBert Belder
2018-08-02tools/setup: avoid running `gn gen` twice in the same output directoryBert Belder
2018-07-29Rename run_hooks.py to setup.pyRyan Dahl
Moves 'gn gen' into setup.py Make tools/build.py more ergonomic.
2018-07-26Simplify run_rustc.py output.Ryan Dahl
2018-07-25Clean up and fix toolsBert Belder
* 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-24Fix recursive globbing in tools/format.pyRyan Dahl
And use third_party/depot_tools/gn.
2018-07-21Add tools/test.py test runner. (#384)Ryan Dahl
2018-07-21Fix symlink creation on windowsBert Belder
2018-07-18Use Cargo to install rust deps into //third_party/rust_crates (#383)robbym
2018-07-18Reduce unnecessary build output.Ryan Dahl
2018-07-08tools: fix windowsBert Belder
This fixes most things, but format.py doesn't work yet, because yapf is broken due to some depot_tools shimming python.
2018-07-08Clean up tools/Ryan Dahl
- Factor out tools/util.py - Move js/*.py to tools. - Rewrite tools/format.sh in python. - Run lint first in travis.