From 2d1c29887a985786b2c020bb6395ff779b11a591 Mon Sep 17 00:00:00 2001 From: Dorian Patterson Date: Thu, 8 Mar 2012 14:04:33 -0500 Subject: [PATCH] Build script builds executable in build folder. --- .gitignore | 1 + BUILD.ahk | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 BUILD.ahk diff --git a/.gitignore b/.gitignore index 0762be8..17a0e84 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.exe *.chm +build/ rules.ini diff --git a/BUILD.ahk b/BUILD.ahk new file mode 100644 index 0000000..b7da4d1 --- /dev/null +++ b/BUILD.ahk @@ -0,0 +1,40 @@ +; Build script for Belvedere +; Version 0.0.1 +; Author: Dorian Alexander Patterson +; Requires: AutoHotkey_L 1.1.07.01+ +; +; Copyright 2012 Dorian Alexander Patterson +; +; This program is free software: you can redistribute it and/or modify +; it under the terms of the GNU General Public License as published by +; the Free Software Foundation, either version 3 of the License, or +; (at your option) any later version. + +; This program is distributed in the hope that it will be useful, +; but WITHOUT ANY WARRANTY; without even the implied warranty of +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +; GNU General Public License for more details. + +; You should have received a copy of the GNU General Public License +; along with this program. If not, see . + +; Set up build environment +#NoEnv +#SingleInstance ignore +; NSIS +; Microsoft HTML Help Workshop 1.3 +; ahk2exe +$ahk2exe= I:\Program Files (x86)\AutoHotKey\Compiler\Ahk2Exe.exe +; Check dependencies + +; Clean old build files + +; Compile Belvedere.ahk +RunWait %$ahk2exe% /in Belvedere.ahk /out build/Belvedere.exe + + +; Compile help. + +; Move the executable and help file to the the build folder. + +; Copy installer files to build \ No newline at end of file