This document lists the various scripts in the project and their purposes.
Note: All scripts are meant to be run from the root of the repository, i.e. from the root
deej
directory:.\pkg\deej\scripts\...\whatever.bat
. They're not guaranteed to work correctly if run from another directory.
build-dev.bat
: Builds deej with a console window, for development purposesbuild-release.bat
: Builds deej as a standalone tray application without a console window, for releasesbuild-all.bat
: Helper script to build all variantsmake-icon.bat
: Converts a .ico file to an icon byte array in a Go file. Used by our systray library. You shouldn't need to run this unless you change the deej logomake-rsrc.bat
: Generates arsrc.syso
resource file insidecmd
alongsidemain.go
- This indicates to the Go linker to use the deej application manifest and icon when building.prepare-release.bat
: Tags, builds and renames the release binaries in preparation for a GitHub release. Usage:prepare-release.bat vX.Y.Z
(binaries will be underreleases\vX.Y.Z\
)
build-dev.sh
: Builds deej for development purposesbuild-release.sh
: Builds deej for releasesbuild-all.sh
: Helper script to build all variants