actboy168/luamake是从https://github.com/actboy168/luamake.导入的特工技能候选人。
概览
actboy168/luamake是从https://github.com/actboy168/luamake.导入的特工技能候选人。
概述(AI 翻译)
安装说明
1.克隆仓库和子模块
2.安装:
Windows (msvc):
- 安装Visual Studio
Linux / MacOS / Android / NetBSD / FreeBSD / OpenBSD / Windows(mingw)
- 安装 gcc、g++、ninja
或
3.有用的构建命令
编译
编译与跳过测试
干净
编译Lua2C(单一二进制,内嵌脚本)
快速启动
创建文件 make.lua。例如,这是一个用于编译 lua 的 make.lua 文件:
建造
跑
命令
luamake(卢阿梅克)
构建你的项目。
Luamake 清洁
干净的组装输出。
Luamake 重建
相当于luamake clean && luamake
luamake lua [lua 文件名]
运行lua文件。
luamake测试
相当于luamake lua test.lua
文献资料
详见skills/SKILL.md,获取完整的写作指南make.lua。
本页由 AI 翻译,技术细节请以原文为准。
README
luamake
Install Instructions
1. Clone repo and submodules
git clone https://github.com/actboy168/luamake
cd luamake
git submodule update --init
2. Install:
Windows (msvc):
- Install Visual Studio
compile/install.bat
Linux / MacOS / Android / NetBSD / FreeBSD / OpenBSD / Windows (mingw)
- Install gcc, g++, ninja
compile/install.sh
or
sudo -s compile/install.sh
3. Useful Build Commands
compile
msvc > compile/build.bat
other> compile/build.sh
compile and skip test
msvc > compile/build.bat notest
other> compile/build.sh notest
clean
msvc > compile/build.bat -t clean
other> compile/build.sh -t clean
compile lua2c (single binary with embedded scripts)
msvc > compile/build.bat lua2c
other> compile/build.sh lua2c
Quick Start
Create file make.lua. For example, this is a make.lua to compile lua:
local lm = require "luamake"
lm:exe "lua" {
sources = {
"src/*.c",
"!src/luac.c" -- ignore luac.c
}
}
Build
$ luamake
Run
$ ./build/bin/lua
Commands
luamake
Build your project.
luamake clean
Clean build output.
luamake rebuild
Equivalent to luamake clean && luamake
luamake lua [lua filename]
Run lua file.
luamake test
Equivalent to luamake lua test.lua
Documentation
See skills/SKILL.md for the full guide on writing make.lua.
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add actboy168/luamake