NeuralAmpModelerPlugin

Plugin for Neural Amp Modeler
Log | Files | Refs | Submodules | README | LICENSE

format.bash (324B)


      1 #!/bin/bash
      2 # Apply project formatting (i.e. clang-format with LLVM style)
      3 #
      4 # Usage:
      5 # $ bash format.bash
      6 
      7 echo "Formatting..."
      8 
      9 git ls-files "*.h" "*.cpp" | xargs clang-format -i .
     10 
     11 echo "Formatting complete!"
     12 echo "You can stage all of the files using:"
     13 echo ""
     14 echo '  git ls-files "*.h" "*.cpp" | xargs git add'
     15 echo ""