diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-06-27 11:48:19 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-06-28 21:56:53 +0200 |
commit | 467408c6dccd6ea58792fcf28d166c6fe7304eda (patch) | |
tree | 570fda9e1c69ddc57a2a639bd9aeaa24d0f90e77 /src | |
parent | c2deb54daf4e4b207d21171fb723b5c7c378a30b (diff) |
Reorg: Move tools/ and gitignore to root.
Diffstat (limited to 'src')
-rw-r--r-- | src/.gitignore | 9 | ||||
-rwxr-xr-x | src/tools/format.sh | 17 | ||||
-rwxr-xr-x | src/tools/lint.sh | 4 |
3 files changed, 0 insertions, 30 deletions
diff --git a/src/.gitignore b/src/.gitignore deleted file mode 100644 index 5b720fd15..000000000 --- a/src/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -out/ -js/.cache/ -js/node_modules/ -v8/ -tools/protoc_wrapper/ -third_party/protobuf/ -third_party/zlib/ -third_party/rust_crates/libc/ -.gclient_entries diff --git a/src/tools/format.sh b/src/tools/format.sh deleted file mode 100755 index fec9fab39..000000000 --- a/src/tools/format.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/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 js/*.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 diff --git a/src/tools/lint.sh b/src/tools/lint.sh deleted file mode 100755 index 64a452f0a..000000000 --- a/src/tools/lint.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -cd `dirname "$0"`/.. -set -e -v -cpplint --filter=-build/include_subdir --repository=. *.cc *.h include/*.h |