diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-06-13 15:01:21 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-06-13 15:01:21 +0200 |
commit | 5c7ba22f2242930ad09f011eaea12a59153e294f (patch) | |
tree | 6edb4e52147fe81b76e340028fa9cc67e4f058e7 /deno2/tools/format.sh | |
parent | 69868c2b0e4372e6d7e49821caca41d372686eea (diff) | |
parent | bb6222c91872695cbe98aa2a75166265f52cec2e (diff) |
Merge branch 'deno2'
Diffstat (limited to 'deno2/tools/format.sh')
-rwxr-xr-x | deno2/tools/format.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/deno2/tools/format.sh b/deno2/tools/format.sh new file mode 100755 index 000000000..d8f08f725 --- /dev/null +++ b/deno2/tools/format.sh @@ -0,0 +1,15 @@ +#!/bin/sh +cd `dirname "$0"`/.. +clang-format -i -style Google *.cc *.h include/*.h +gn format BUILD.gn +gn format .gn +yapf -i tools/*.py +prettier --write \ + js/deno.d.ts \ + js/main.ts \ + js/mock_runtime.js \ + js/package.json \ + js/tsconfig.json +# Do not format these. +# js/msg.pb.js +# js/msg.pb.d.ts |