Commit graph

4 commits

Author SHA1 Message Date
Jeff Gaston
2ca94325bf Have bpfmt show usage when run without any arguments
This is partially in hopes of making it generally easier to use, and
partially in hopes of specifically making it less tempting to do

bpfmt Android.bp > Android.bp

which actually would just erase the contents of Android.bp

Test: bpfmt Android.bp 2>&1 | grep usage && echo ok
Bug: 67326589
Change-Id: I41c23aca6214f27dbdf55e5931f9392c318e82ed
2017-10-18 15:11:19 -07:00
Jeff Gaston
6cd6ebc768 Refactor in preparation to detect when stdout is the input file
Test: bpfmt -d Android.bp
Bug: 67326589

Change-Id: I5cd57a784848f70c7a1306161c40faa8e79cd44e
2017-10-18 15:11:18 -07:00
Jamie Gennis
6cafc2cddc Update import paths to include github 2015-03-21 01:03:36 -04:00
Colin Cross
3e8e74f276 Move blueprint/* up a directory
Make integrating with go tools easier by putting the blueprint package
files in the top level directory of the git project instead of in a
subdirectory called blueprint.

Change-Id: I35c144c5fe7ddf34e478d0c47c50b2f6c92c2a03
2015-01-23 14:23:27 -08:00