Commit Graph
14 Commits
Author SHA1 Message Date
Vasily 1f1d321398 Update deployment script
Still needs file copying and batch file output.
2019-01-04 17:07:52 +01:00
Vasily 979f542348 Rename build.py to win_build.py
It's also going to fit the deploy and package scripts.
2019-01-04 17:07:52 +01:00
Vasily b806667717 Use python build script 2019-01-04 17:07:52 +01:00
Vasily 14ab02f155 Remove function calls to say all vars are found 2019-01-04 16:14:47 +01:00
Vasily e7cb2d8c1a Add python build.py script
Does not work as well as the PS script, because of having to create
subprocesses and routing stdout and stderr seems to be problematic.
2019-01-04 16:13:23 +01:00
Vasily b0bce08c2d Convert win formatting script to use LLVM_LOC instead of
CLANG_FORMAT_LOC

The path to the bin dir for LLVM can be used for both clang-cl.exe and
clang-format.exe. Changing this will reduce the amount of environment
variables in play, leading to better long term quality.
2018-12-29 01:17:51 +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 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 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