aboutsummaryrefslogtreecommitdiff
path: root/yuescript-dev-1.rockspec
blob: c8fe34af69746b7ba700ab324c8c926cb5e0f880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
rockspec_format = "3.0"
package = "Yuescript"
version = "dev-1"
source = {
	url = "git+https://github.com/pigpigyyy/yuescript"
}
description = {
	summary = "Yuescript is a Moonscript dialect.",
	detailed = [[
	Yuescript is a Moonscript dialect. It is derived from Moonscript language 0.5.0 and continuously adopting new features to be more up to date. ]],
	homepage = "https://github.com/pigpigyyy/yuescript",
	maintainer = "Li Jin <dragon-fly@qq.com>",
	labels = {"yuescript","cpp","transpiler","moonscript"},
	license = "MIT"
}
dependencies = {
	"lua >= 5.1",
}

build = {
	type = "cmake",
	variables = {
		LUA = "$(LUA)",
		LUA_INCDIR = "$(LUA_INCDIR)",
		CMAKE_BUILD_TYPE="Release"
	},
	install = {
		lib = {
			"build.luarocks/yue.so"
		},
		bin = {
			"build.luarocks/yue"
		}
	}
}

platform = {
	win32 = {
		build = {
			install = {
				lib = {
					"build.luarocks/yue.dll"
				},
				bin = {
					"build.luarocks/yue.exe"
				}
			}
		}
	}
}