QSimpleUpdater/etc/scripts/format-code.bat
Alex Spataru 47c6909259 Rewrite library to allow multiple updaters & JSON appcasts
- The update definitions are now stored in the JSON format
- The QSimpleUpdater now allows updating separate “modules” of the
application, this can be useful if you are using a large application
with several updatable plugins
- You can now implement your own procedures to install the downloaded
updates
2016-05-22 21:36:53 -05:00

21 lines
621 B
Batchfile

:: Description: This script changes the style format of
:: all the source code of the project.
:: Setup the command line
@echo off
title Code Formatter
:: Go to the directory where the script is run
cd /d %~dp0
:: Style and format the source code recursively
astyle --pad-oper --pad-first-paren-out --align-pointer=type --remove-brackets --convert-tabs --max-code-length=80 --style=google --lineend=windows --suffix=none --recursive ../../*.h ../../*.cpp ../../*.c
:: Notify the user that we have finished
echo.
echo Code styling complete!
echo.
:: Let the user see the output
pause