mirror of
https://github.com/denoland/deno.git
synced 2025-01-30 19:25:12 -05:00
7a38a2f1a7
Because yarn and npm reset the style every time they update the file.
17 lines
340 B
Bash
Executable file
17 lines
340 B
Bash
Executable file
#!/bin/sh
|
|
cd `dirname "$0"`/..
|
|
clang-format -i -style Google *.cc *.h include/*.h
|
|
gn format BUILD.gn
|
|
gn format deno.gni
|
|
gn format .gn
|
|
yapf -i tools/*.py
|
|
prettier --write \
|
|
js/deno.d.ts \
|
|
js/main.ts \
|
|
js/mock_runtime.js \
|
|
js/tsconfig.json
|
|
# Do not format these.
|
|
# js/msg.pb.js
|
|
# js/msg.pb.d.ts
|
|
|
|
rustfmt --write-mode overwrite *.rs
|