← 返回
开发者工具

Makefile Generator

生成专业的 Makefile,支持 Node.js、Python、Go 项目,提供开发、测试、构建、部署等常用命令。
生成专业的 Makefile,支持 Node.js、Python、Go 项目,提供开发、测试、构建、部署等常用命令。
sunshine-del-ux
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 568
下载
💾 27
安装
1
版本
#automation#build#latest#make#makefile

概述

Makefile Generator

生成专业的 Makefile,统一项目构建命令。

功能

  • ⚡ 一键生成
  • 📝 多语言支持
  • 🎯 常用命令
  • 🔧 自定义目标

支持的语言

语言命令
------------
Node.jsinstall, test, build, dev, clean
Pythoninstall, test, run, clean
Gobuild, test, run, clean

使用方法

Node.js 项目

makefile-generator --lang node

Python 项目

makefile-generator --lang python

Go 项目

makefile-generator --lang go

输出示例

# Makefile for Node.js Project

.PHONY: help install dev build test clean lint format deploy

help:
	@echo "Available commands:"
	@echo "  make install   - Install dependencies"
	@echo "  make dev      - Start development server"
	@echo "  make build    - Build for production"
	@echo "  make test     - Run tests"
	@echo "  make lint     - Run linter"
	@echo "  make format   - Format code"
	@echo "  make clean    - Clean build artifacts"

install:
	npm install

dev:
	npm run dev

build:
	npm run build

test:
	npm test

lint:
	npm run lint

format:
	npm run format

clean:
	rm -rf node_modules dist build

高级用法

添加自定义目标

makefile-generator --lang node --custom "docker,docker-build,docker-run"

指定包管理器

makefile-generator --lang node --pm yarn
makefile-generator --lang node --pm pnpm

安装

# 无需额外依赖

变现思路

  1. 项目模板 - 销售项目模板
  2. 开发服务 - 为企业配置开发环境

使用 Makefile 的好处

  • 统一团队开发命令
  • 减少记忆成本
  • 自动化重复任务
  • 跨平台兼容

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 07:51 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

akshare-stock

sunshine-del-ux
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 15 📥 11,099
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,513
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,460