Commit Graph

11 Commits

Author SHA1 Message Date
Ryan Smith
41345f04bd build: add Linux ARM64 build target 2025-04-16 10:34:48 -07:00
Ryan Smith
c0e6010143 build: replace amd64 with x64 in binary names
This change replaces 'amd64' with 'x64' in the file names of the output binaries.

The binary names are now set directly in each build target, rather than declared as variables.
2025-04-16 10:33:36 -07:00
Ryan Smith
ecbe1d4972 Append -dirty or -broken tag to version if local changes found 2025-04-05 14:26:10 -07:00
Ryan Smith
30c3095541 Remove v prefix from version tag 2025-03-26 18:13:18 -07:00
Ryan Smith
7dc7b1ee83 Add setting and getting version information
- Add `Version` string var to config package for storing version information.
- Update Makefile to set the `Version` variable at build time using the latest Git tag.
- Add `-version` flag to main package to print version information and exit.
- Remove setting the GO111MODULE environment variable from Makefile when building. It's not needed.
2025-03-22 08:56:10 -07:00
Ryan Smith
0e0a18e1f1 Adjust Makefile to strip debug info and add architectures
- Strip debug information to reduce binary size, using `-ldflags="-s -w"`.
- Remove file system paths from the build environment in the resulting binary, using `-trimpath`.
- Add targets to build for Linux, FreeBSD, and Windows.
2025-03-17 17:43:36 -07:00
Ryan Smith
5dc1a6d91c Change output directory to ./bin when compiling
Previously, binaries were compiled to ./out.
2025-03-17 15:54:14 -07:00
Ryan Smith
e2b3dc51c5 Switch long arguments to short for better compatibility
Changed all commands that use long arguments to short arguments in the installation script and Makefile. This improves compatibility, as short arguments are more universally supported.
2024-11-08 13:32:13 -08:00
Ryan Smith
d17f6fffaa Rename the project to Deceptifeed 2024-10-21 17:18:09 -07:00
Ryan Smith
19145dd6d6 Revise installation script
This changes adds better upgrade handling. If a previous installation is detected, the user is prompted to upgrade and only the steps necessary to upgrade are performed. This change also simplifies variables for source/target bin and config file.
2024-10-21 14:53:48 -07:00
Ryan Smith
964cf2e769 Add Makefile 2024-10-19 13:01:01 -07:00