rocksdb/build_tools
Kai Liu d702d8073e A script that automatically reformat affected lines
Summary:
Added a script that reformat only the affected lines in a given diff.

I planned to make that file as pre-commit hook but looks it's a little bit more difficult than I thought. Since I don't want to spend too much time on this task right now, I eventually added a "make command" to achieve this with a few additional key strokes.

Also make the clang-format solely inherited from Google's style -- there are still debates on some of the style issues, but we can address them later once we reach a consensus.

Test Plan: Did some ugly format change and ran "make format", all affected lines are formatted as expected.

Reviewers: igor, sdong, haobo

CC: leveldb

Differential Revision: https://reviews.facebook.net/D15147
2014-01-14 12:21:24 -08:00
..
build_detect_platform Compile dynamic library by default 2014-01-14 00:28:10 -08:00
build_detect_version Refactor build_tools/build_detect_version 2014-01-06 08:44:43 +02:00
fbcode.clang31.sh Remove libevent 2013-11-18 21:33:16 -08:00
fbcode.gcc471.sh Add -DROCKSDB_FALLOCATE_PRESENT to fbcode build 2014-01-02 02:00:04 -08:00
fbcode.gcc481.sh Compile dynamic library by default 2014-01-14 00:28:10 -08:00
format-diff.sh A script that automatically reformat affected lines 2014-01-14 12:21:24 -08:00
mac-install-gflags.sh make util/env_posix.cc work under mac 2013-11-16 23:44:39 -08:00
make_new_version.sh Automate the preparation step for a new release 2014-01-02 11:35:33 -08:00
regression_build_test.sh readwhilewriting benchmark 2014-01-08 17:44:58 -08:00
valgrind_test.sh Clean up the Makefile and the build scripts 2013-08-15 12:59:45 -07:00