mmake alternatives and similar packages
Based on the "Utilities" category.
Alternatively, view mmake alternatives based on common mentions on social networks and blogs.
-
项目文档
基于vite+vue3+gin搭建的开发基础平台(支持TS,JS混用),集成jwt鉴权,权限管理,动态路由,显隐可控组件,分页封装,多点登录拦截,资源权限,上传下载,代码生成器,表单生成器,chatGPT自动查表等开发必备功能。 -
excelize
Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets -
godotenv
A Go port of Ruby's dotenv library (Loads environment variables from .env files) -
Kopia
Cross-platform backup tool for Windows, macOS & Linux with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication. CLI and GUI included. -
go-funk
A modern Go utility library which provides helpers (map, find, contains, filter, ...) -
hystrix-go
Netflix's Hystrix latency and fault tolerance library, for Go -
lancet
A comprehensive, efficient, and reusable util function library of Go. -
gorequest
GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent ) -
goreporter
A Golang tool that does static analysis, unit testing, code review and generate code quality report. -
gojson
Automatically generate Go (golang) struct definitions from example JSON -
create-go-app
✨ A complete and self-contained solution for developers of any qualification to create a production-ready project with backend (Go), frontend (JavaScript, TypeScript) and deploy automation (Ansible, Docker) by running only one CLI command. -
spinner
Go (golang) package with 90 configurable terminal spinner/progress indicators. -
EaseProbe
A simple, standalone, and lightweight tool that can do health/status checking, written in Go. -
filetype
Fast, dependency-free Go package to infer binary file types based on the magic numbers header signature -
mole
CLI application to create ssh tunnels focused on resiliency and user experience. -
boilr
:zap: boilerplate template manager that generates files or directories from template repositories -
beaver
💨 A real time messaging system to build a scalable in-app notifications, multiplayer games, chat apps in web and mobile apps. -
mimetype
A fast Golang library for media type and file extension detection, based on magic numbers -
go-underscore
Helpfully Functional Go - A useful collection of Go utilities. Designed for programmer happiness. -
JobRunner
Framework for performing work asynchronously, outside of the request flow -
git-time-metric
Simple, seamless, lightweight time tracking for Git
InfluxDB - Power Real-Time Data Analytics at Scale
Do you think we are missing an alternative of mmake or a related project?
Popular Comparisons
README
Modern Make
About
Mmake is a small program which wraps make
to provide additional functionality, such as user-friendly help output, remote includes,
and eventually more. It otherwise acts as a pass-through to standard make.
Installation
Via gobinaries.com:
$ curl -sf https://gobinaries.com/tj/mmake/cmd/mmake | sudo sh
Build from source:
$ go get github.com/tj/mmake/cmd/mmake
Homebrew:
$ brew tap tj/mmake https://github.com/tj/mmake.git
$ brew install tj/mmake/mmake
Next add the following alias to your profile:
alias make=mmake
Features
Help output
Make's primary function is not to serve as a "task runner", however it's often used for that scenario due to its ubiquitous nature, and if you're already using it, why not! Make is however lacking a built-in mechanism for displaying help information.
Here's an example Makefile:
# Start the dev server.
#
# Note that the API server must
# also be running.
start:
@gopherjs -m -v serve --http :3000 github.com/tj/docs/client
.PHONY: start
# Start the API server.
api:
@go run server/cmd/api/api.go
.PHONY: api
# Display dependency graph.
deps:
@godepgraph github.com/tj/docs/client | dot -Tsvg | browser
.PHONY: deps
# Display size of dependencies.
#- Any comment preceded by a dash is omitted.
size:
@gopherjs build client/*.go -m -o /tmp/out.js
@du -h /tmp/out.js
@gopher-count /tmp/out.js | sort -nr
.PHONY: size
Mmake provides a help
command to display all target comments in short form:
$ alias make=mmake
$ make help
start Start the dev server.
api Start the API server.
deps Display dependency graph.
size Display size of dependencies.
You can optionally filter which commands to view the help dialogue for (this supports standard Unix glob patterns):
$ make help start
start Start the dev server.
$ make help s*
size Display size of dependencies.
start Start the dev server.
The help
command also supports displaying longer output with the verbose flag (-v
/ --verbose
):
$ make help -v start
Start the dev server.
Note that the API server must
also be running.
$ make help -v
start:
Start the dev server.
Note that the API server must
also be running.
api:
Start the API server.
deps:
Display dependency graph.
size:
Display size of dependencies.
The default behaviour of Make is of course preserved:
$ make
serving at http://localhost:3000 and on port 3000 of any available addresses
$ make size
...
Remote includes
Includes may specify a URL (http, https, or github shortcut) for inclusion, which are automatically downloaded to /usr/local/include
and become available to Make. Note that make resolves includes to this directory by default, so the Makefile will still work for regular users.
Includes are resolved recursively. For example you may have a standard set of includes for your team to run tests, lint, and deploy:
include github.com/apex/make/deploy
include github.com/apex/make/lint
include github.com/apex/make/test
include https://github.com/apex/make/test/Makefile
include https://github.com/apex/make/test/make.mk
This can be a lot to remember, so you could also provide a file which includes the others:
include github.com/apex/make/all
If the given repository contains an index.mk
file, you can just declare:
include github.com/apex/make
Or perhaps one per dev environment such as Node or Golang:
include github.com/apex/make/node
include github.com/apex/make/golang
If you're worried about arbitrary code execution, then simply fork a project and maintain control over it.
Update
Once the remote includes are downloaded to /usr/local/include
, mmake
will not try to fetch them again. In order to get an updated copy of the remote includes, mmake
provides an update
target that will download them again:
$ make update
Registry
If you're looking to find or share makefiles check out the Wiki, and feel free to add a category if it is missing.
Links
- GNU Make documentation
- Wiki registry
- Announcement blog post
- Introduction youtube video
- AUR Package Arch Linux Package
Badges
tjholowaychuk.com · GitHub @tj · Twitter @tjholowaychuk
*Note that all licence references and agreements mentioned in the mmake README section above
are relevant to that project's source code only.