clang-format
Advanced tools
Comparing version 1.0.7 to 1.0.8
10
index.js
@@ -1,2 +0,1 @@ | ||
#!/usr/bin/env node | ||
var spawn = require('child_process').spawn; | ||
@@ -44,10 +43,1 @@ var os = require('os'); | ||
module.exports.spawnClangFormat = spawnClangFormat; | ||
if (require.main === module) { | ||
try { | ||
spawnClangFormat(process.argv.slice(2), process.exit, 'inherit'); | ||
} catch (e) { | ||
process.stdout.write(e.message); | ||
process.exit(1); | ||
} | ||
} |
{ | ||
"name": "clang-format", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "node wrapper around clang-format", | ||
@@ -11,4 +11,5 @@ "repository": { | ||
"bin": { | ||
"clang-format": "index.js" | ||
"clang-format": "runner.js" | ||
}, | ||
"scripts": {"test": "./test.sh"}, | ||
"contributors": [ | ||
@@ -15,0 +16,0 @@ "Alex Eagle <alexeagle@google.com>", |
@@ -12,1 +12,10 @@ # clang-format | ||
(should be about 1.4MB as of mid-2015) and send a pull request to add it. | ||
## Compiling clang-format | ||
For Linux, compile a statically linked MinSizeRel build: | ||
cmake -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel -DLLVM_BUILD_STATIC=true .. | ||
ninja clang-format | ||
For Mac OS X, static linking is not required. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3817409
10
52
21