Commit Graph
11 Commits
Author SHA1 Message Date
Robin Appelman 3f0fbeb1b0 mark linux formatting scripts as executable 2018-12-28 20:42:33 +01:00
Vasily 1e3d3b3aed Add additional error handling to verification scripts 2018-12-28 15:53:41 +01:00
Vasily 86a0dae70b Add verification scripts for clang-format
The scripts are very light on error handling and verification, mostly
intended just to debug if a CI server fails on formatting reasons.
2018-12-28 03:01:45 +01:00
Vasily 4446af2a06 Add linux script
Not a lot of output compared to windows. It is assumed that linux users
have clang-format in the path.
2018-12-28 00:24:40 +01:00
Vasily c33e8f76e7 Add windows formatting script
Done in batch script because Powershell requires execution policy to be
changed to run scripts. Therefore batch files are considered to have a
lower barrier for entry.
2018-12-28 00:23:14 +01:00
Vasily b338872af3 Add python clang-format wrapper
Original found here: https://github.com/Sarcasm/run-clang-format

Licensed under MIT.
2018-12-28 00:03:20 +01:00
Vasily 2aa32bafad Change variable expansion in build scripts
Currently the variable expansion sometimes doesn't work when done over
two variables. Inlining the ~dp0 call along with \..\..\ seems to work.

Testing leads me to believe that the Windows command prompt caches
things in a weird way.
2018-12-26 21:58:03 +01:00
Vasily de8dffe40f Add extra checks for environment vars 2018-12-26 20:23:16 +01:00
Vasily fc103633fe Update package script to consider path vars 2018-12-26 20:04:55 +01:00
Vasily eee7148c00 New build_windows.cmd
Change names of build scripts
2018-12-26 18:21:02 +01:00
Vasily 8bec43d01e Add new build scripts for windows
The old build scripts used hard coded directory paths, didn't check if
the paths actually existed and didn't differentiate between compiling,
deploying libraries and packaging for release.

The new build scripts are split into three different files. They are all
longer than the old build scripts, but most of the extra lines are
error checking, which the old one lacked.

It was considered writing the build scripts in another language like
Python or Powershell, but the relatively small size of the project and
unlikelihood of the build systems needing to grow massively means that a
very simple imperative language like the Microsoft scripting language is
fine.
2018-12-26 18:10:10 +01:00