summaryrefslogtreecommitdiff
path: root/tools/format.py
AgeCommit message (Collapse)Author
2019-03-30Call ninja directly from build.rs (#2020)Ryan Dahl
2019-03-30Move //libdeno to //core/libdeno (#2015)Ryan Dahl
Fixes some sed errors introduced in c43cfe. Unfortunately moving libdeno required splitting build.rs into two parts, one for cli and one for core. I've also removed the arm64 build - it's complicating things at this re-org and we're not even testing it. I need to swing back to it and get tools/test.py running for it.
2019-03-19Rename //src/ to //cli/ (#1962)Ryan Dahl
To better distinguish the deno_core crate from the executable deno, which will now be called "the cli" internally.
2019-03-04tools: remove fix_symlinks() functionBert Belder
This fixes an issue on Windows that causes build to fails when fix_symlinks() is called concurrently with another build step. It is also no longer necessary, since recent versions of git know how to properly create symbolic links on checkout.
2019-02-26deno_core (#1827)Ryan Dahl
A new low-level crate with focus on speed. This doesn't yet hook into the existing code base.
2019-02-12Revert "Rewrite tools/format.py in deno (#1528)" (#1752)Ryan Dahl
tools/format.ts is making CI flaky and it's difficult to run right now. Reverting to tools/format.py This reverts commit f19622e7681b7753788137706e535f72c3ebb38e.
2019-01-17Rewrite tools/format.py in deno (#1528)Yoshiya Hinosawa
Note: findFiles and findFilesWalk are borrowed from the previous attempt of @pseudo-su (#1434)
2018-12-24deno_net -> deno_std renameRyan Dahl
Also don't format external js/deps
2018-11-29Move libdeno build config to libdeno/BUILD.gnRyan Dahl
2018-10-31Support cargo check (#1128)Ryan Dahl
- Based on code from @qti3e and @piscisaureus in #724 and #1125 respectively. - TODO The DENO_BUILD_PATH env var must be supplied and must be an absolute path, this restriction should be removed in future work.
2018-10-30Make format.py less verbose.Ryan Dahl
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-23third_party: install yapf with pipBert Belder
2018-10-21Add yapf to third_party.Ryan Dahl
2018-10-20Add rustfmt to third_party.Ryan Dahl
2018-10-19Add missing copyrights (#1024)ztplz
2018-10-11Replace globals.d.ts with lib.deno_runtime.d.tsKitson Kelly
2018-10-04tools/format: format markdown files with prettierBert Belder
2018-09-22Add benchmark tools (#777)Yoshiya Hinosawa
2018-09-21Revert "Add benchmark tools (#777)"Bert Belder
This reverts commit 3ad48bdb3e6372f55579808535ce2c17809178ff.
2018-09-21Add benchmark tools (#777)Yoshiya Hinosawa
2018-09-10tools/format: don't format files in third_party on WindowsBert Belder
2018-08-26tools/format: fix clang-format glob patternBert Belder
2018-08-17chore: download clang-format from google storageYoshiya Hinosawa
2018-08-17chore: format files in tests/Yoshiya Hinosawa
2018-08-08Remove RUSTFMT_FLAGSRyan Dahl
2018-08-08Change rustfmt flags. For v0.8.2.Ryan Dahl
2018-07-25Remove msg_generated hack (#409)Kitson Kelly
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-20Wrap rust at 80 columns.Ryan Dahl
2018-07-19Link rust_test targets with external linker, fix handlers_test linkageBert Belder
2018-07-10Remove -f option from rustfmt. (#356)Ryan Dahl
And add support for RUSTFMT_FLAGS (Some people might need -f option)
2018-07-09chore: use local prettierYoshiya Hinosawa
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.