X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=Makefile;h=9c837d26e6608aae653e471e0b8ccfdd774796d9;hb=be429016afc256ce6731867ffed6f2d6f2d876f2;hp=49c909ef9fde49a559fbcb0c87839f35c004c730;hpb=c11938aed5e261ac40a562781325996628663610;p=open-adventure.git diff --git a/Makefile b/Makefile index 49c909e..9c837d2 100644 --- a/Makefile +++ b/Makefile @@ -68,6 +68,9 @@ cheat: $(CHEAT_OBJS) dungeon.o check: advent cheat cd tests; $(MAKE) --quiet +reflow: + @clang-format --style="{IndentWidth: 8, UseTab: ForIndentation}" -i $$(find . -name "*.[ch]") + # Requires gcov, lcov, libasan6, and libubsan1 # The last two are Ubuntu names, might vary on other distributions. # After this, run your browser on coverage/open-adventure/index.html