-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
idl: fix recompile_thrift.sh & script: add format_files.sh #205
Conversation
good job! but linenoise and sds should be excluded from clang-format, it's a thirdparty code, we should keep its code style. |
scripts/format-files.sh
Outdated
@@ -0,0 +1,16 @@ | |||
#!/bin/bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
format_files.sh, we use userline for file name
src/idl/recompile_thrift.sh
Outdated
sh $DSN_ROOT/bin/dsn.cg.sh rrdb.thrift cpp $TMP_DIR | ||
cp -v $TMP_DIR/rrdb.types.h ../include/rrdb/ | ||
$DSN_ROOT/bin/Linux/thrift --gen cpp:moveable_types -out $TMP_DIR rrdb.thrift | ||
#cp -v $TMP_DIR/rrdb.types.h ../include/rrdb/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove out the commented codes
e6d8e1e
14e078f
to
e6d8e1e
Compare
dbe064d
@neverchanje already exclude rocksdb/,linenoise/,sds/ from formating |
Former-commit-id: ea5edf13a0d9d9b8e05013b5e2008a88141ba53e [formerly 2544463] Former-commit-id: 28fc55e542626308088b1db739bdb4309adace9c
No description provided.