Skip to content

Utility for generating makefiles for Golang applications

License

Notifications You must be signed in to change notification settings

essentialkaos/gomakegen

GoReportCard Codebeat badge Codacy badge
GitHub Actions CI Status GitHub Actions CodeQL Status

InstallationUsageBuild StatusContributingLicense


gomakegen is simple utility for generating makefiles for Golang applications.

Installation

To build the gomakegen from scratch, make sure you have a working Go 1.21+ workspace (instructions), then:

go install github.com/essentialkaos/gomakegen@latest

Prebuilt binaries

You can download prebuilt binaries for Linux and macOS from EK Apps Repository:

bash <(curl -fsSL https://apps.kaos.st/get) gomakegen

Command-line completion

You can generate completion for bash, zsh or fish shell.

Bash:

sudo gomakegen --completion=bash 1> /etc/bash_completion.d/gomakegen

ZSH:

sudo gomakegen --completion=zsh 1> /usr/share/zsh/site-functions/gomakegen

Fish:

sudo gomakegen --completion=fish 1> /usr/share/fish/vendor_completions.d/gomakegen.fish

Man documentation

You can generate man page using next command:

gomakegen --generate-man | sudo gzip > /usr/share/man/man1/gomakegen.1.gz

Usage

CI Status

Branch Status
master CI
develop CI

Contributing

Before contributing to this project please read our Contributing Guidelines.

License

Apache License, Version 2.0