summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua T <joshua@sonofone.net>2017-01-07 14:05:04 -0600
committerJoshua T <joshua@sonofone.net>2017-01-07 14:05:04 -0600
commitcfb45027bb08ac271d43ac087952b8da71309a00 (patch)
tree6b1c12ee6e54192c7abb09d6dc141c484e3f7324
parent8f8d10475956a17953f6db4db3f3b50bd795c0d8 (diff)
Removed build.bat
Make.exe is easy enough to use, and there's no real sense in having a wrapper aroung it.
-rw-r--r--util/build.bat51
1 files changed, 0 insertions, 51 deletions
diff --git a/util/build.bat b/util/build.bat
deleted file mode 100644
index 316bbfd54e..0000000000
--- a/util/build.bat
+++ /dev/null
@@ -1,51 +0,0 @@
-@echo off
-
-rem Use this batch file from within an IDE to automatically build your firmware.
-rem You can pass command-line arguments to indicate which keyboard and keymap to build.
-rem
-rem Usage:
-rem vscode-build.bat "Working directory" "Keyboard" "Keymap"
-rem
-rem Ex. vscode-build.bat C:\Projects\qmk_firmware Planck default
-
-SET ROOTDIR="%~dp0..\"
-
-rem Modify this to define your keyboard
-rem SET KEYBOARD="ergodox_ez"
-if [%1]==[] (
- echo. Keyboard is undefined; defaulting to Planck
- SET KEYBOARD="Planck"
-) ELSE (
- SET KEYBOARD="%1"
-)
-
-rem Modify this line to adjust your keymap.
-rem SET KEYMAP="replicaJunction"
-if [%2]==[] (
- echo. Keyboard is undefined; defaulting to default
- SET KEYMAP="default"
-) ELSE (
- SET KEYMAP="%2"
-)
-
-echo.
-echo. --------------
-echo. Build started.
-echo. --------------
-echo.
-echo. Working directory: %ROOTDIR%
-echo. Keyboard: %KEYBOARD%
-echo. Keymap: %KEYMAP%
-echo.
-echo.
-CD /D "%ROOTDIR%"
-echo. Cleaning build directory...
-make clean KEYBOARD=%KEYBOARD% KEYMAP=%KEYMAP%
-echo.
-echo. Making keyboard %KEYBOARD% with keymap %KEYMAP%
-make KEYBOARD=%KEYBOARD% KEYMAP=%KEYMAP%
-echo.
-echo. ----------------
-echo. Build completed.
-echo. ----------------
-exit /b \ No newline at end of file