Skip to content

A pointless and overly complicated way of renaming batch scripts that compile other scripts

Notifications You must be signed in to change notification settings

pikakid98/Compile-in-ator

Repository files navigation

Compile-in-ator

A pointless and overly complicated way of renaming batch scripts that compile other scripts inspired by things like Make Cmake etc.

This version and all subsequent versions include the Turbo text editor by Magiblot. However, the source code does NOT include it. You'll need to download and/or compile it yourself

Please also be aware that the base compile file assumes you have my forked Dark Mode for AHK-v2 script downloaded and in a folder above in a folder called "DarkMode". If you would prefer it to all be in the same folder, You can simply edit the .compile script (Please be aware that this tool requires you to have SOME knowledge of Batch.. Not to be confused with Bash)

Another recommendation would be to associate .compile files with Compile-in-ator FE.exe. That's specifically the frontend

Click here to expand
PUSHD "%CD%"

cd "{PATH}"
mkdir ".Cmpl8r"
copy ".compile" ".Cmpl8r"
ren ".Cmpl8r\.compile" "[CompileTemp].bat"
call ".Cmpl8r\[CompileTemp].bat"
rmdir ".Cmpl8r" /S /Q

POPD

robocopy "{PATH}\Output" "Output" /MIR

rmdir "{PATH}\Output" /S /Q

Make sure to replace {PATH} with the actual path

Build requirements

AutoHotkey (v2)
Ahk2Exe
Upx
Dark Mode for AHK-v2
Turbo

Environment Variables (REQUIRED!!)

%AHK% Should be set to your AutoHotkey path. An example C:\Users\username\AutoHotkey (Make sure you aren't using a subdirectory)
%sevenz% 7-Zip is an OPTIONAL tool to extract Turbo.7z which is what I tend to do. Feel free to remove this line