{ "name": "ClangFormat", "description": "Formatting tools for C, C++, Obj-C, Java, JavaScript, TypeScript", "url": "https://llvm.org/svn/llvm-project/llvm/tags/google/stable/2018-12-18/", "mirror": null, "homepage": "https://clang.llvm.org/docs/ClangFormat.html", "depends": [ { "depend": "subversion", "build-depend": true }, { "depend": "cmake", "build-depend": true }, { "depend": "ninja", "build-depend": true } ], "resource": [ { "name": "clang", "url": "https://llvm.org/svn/llvm-project/cfe/tags/google/stable/2018-12-18/" }, { "name": "libcxx", "url": "https://releases.llvm.org/7.0.0/libcxx-7.0.0.src.tar.xz" }, { "name": "clang", "url": "https://git.llvm.org/git/clang.git" }, { "name": "libcxx", "url": "https://git.llvm.org/git/libcxx.git" } ], "conflicts": [], "patches": [], "install": [ "(buildpath/\"projects/libcxx\").install resource(\"libcxx\")", "(buildpath/\"tools/clang\").install resource(\"clang\")", "mkdir \"build\" do", "args = std_cmake_args", "args << \"-DCMAKE_OSX_SYSROOT=/\" unless MacOS::Xcode.installed?", "args << \"-DLLVM_ENABLE_LIBCXX=ON\"", "args << \"..\"", "system \"cmake\", \"-G\", \"Ninja\", *args", "system \"ninja\", \"clang-format\"", "bin.install \"bin/clang-format\"" ], "version": "2018", "file": "clang-format.rb" }