04-26-2015, 11:50 PM
(This post was last modified: 04-27-2015, 12:03 AM by LogicParrot.)
(04-26-2015, 08:28 PM)worktycho Wrote: You can modify the Allfiles.lst file before running CheckBasicStyle to change which files it runs over. Then just delete Allfiles.lst afterwards so cmake regenerates it.Thanks. I cobbled up a script:
Code:
#!/bin/bash
#AllFiles_mine.lst is a list of files you want checked.
cd ......./MCServer/src/
mv AllFiles.lst temp.lst
mv ../../AllFiles_mine.lst AllFiles.lst
lua CheckBasicStyle.lua
mv AllFiles.lst ../../AllFiles_mine.lst
mv temp.lst AllFiles.lst