clang-format-gae

command module
v0.0.0-...-2bee3ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2020 License: ISC Imports: 14 Imported by: 0

README

clang-format-gae

GAE based web-wrapper around clang-format

About

clang-format-gae wraps clang-format in a simple HTTP server, making it possible to format source files with a POST request. It is meant to run on Google AppEngine (GAE) using a custom runtime environment. This is required in order to be able to call clang-format.

Usage

Once running, code files can be formatted with anything that can do a POST request. For example:

curl --data-binary '@-' https://format.collectd.org <input.c >output.c

The script contrib/format.sh can be used to format files in-place.

License

ISC License

Author

Florian Forster

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL