https://github.com/facebook/rocksdb
Revision 30d2883f7bc0c2c80900acb86824c1acd0829ebc authored by Daniel Black on 16 December 2016, 01:46:21 UTC, committed by Daniel Black on 16 December 2016, 01:54:53 UTC
Previously:

$ make format
Makefile:104: Warning: Compiling in debug mode. Don't use the resulting binary in production
build_tools/format-diff.sh
You didn't have clang-format-diff.py available in your computer!
You can download it by running:
    curl http://goo.gl/iUW1u2
Makefile:868: recipe for target 'format' failed
make: *** [format] Error 128

$ curl http://goo.gl/iUW1u2 > ~/bin/clang-format-diff.py
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   276    0   276    0     0    148      0 --:--:--  0:00:01 --:--:--   148m

$ more ~/bin/clang-format-diff.py
<HTML>
<HEAD>
<TITLE>Moved Permanently</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Moved Permanently</H1>
The document has moved <A HREF="https://raw.github.com/leaningtech/duetto-clang/master/tools/clang-format/clang-format-diff.py">here</A>.
</BODY>
</HTML>
1 parent 0ab6fc1
Raw File
Tip revision: 30d2883f7bc0c2c80900acb86824c1acd0829ebc authored by Daniel Black on 16 December 2016, 01:46:21 UTC
Make format shows wrong curl command for retrieving clang-format-diff.py
Tip revision: 30d2883
.arcconfig
{
  "project_id" : "rocksdb",
  "conduit_uri" : "https://phabricator.fb.com/api/",
  "copyright_holder" : "Facebook",
  "load" : [
    "arcanist_util"
  ],
  "lint.engine" : "FacebookFbcodeLintEngine",
  "lint.engine.single.linter" : "FbcodeCppLinter",
  "unit.engine" : "FacebookFbcodeUnitTestEngine",
  "arcanist_configuration" : "FacebookArcanistConfiguration",
  "base" : "git:HEAD^, hg:.^",
  "git.default-relative-commit" : "HEAD^",
  "git:arc.feature.start.default" : "origin/master",
  "arc.feature.start.default" : "master",
  "history.immutable" : false
}
back to top