-- `package` is the require-path. -- -- Note: this must match the filename also. package = "mjolnir.th.hints" -- `version` has two parts, your module's version (0.1) and the -- rockspec's version (1) in case you change metadata without -- changing the module's source code. -- -- Note: the version must match the version in the filename. version = "1.0-1" -- General metadata: local url = "github.com/trishume/mjolnir.th.hints" local desc = "Mjolnir module for fancy window switching using vimium like hints. Inspired by Slate." source = {url = "git://" .. url} description = { summary = desc, detailed = desc, homepage = "https://" .. url, license = "MIT", } -- Dependencies: supported_platforms = {"macosx"} dependencies = { "lua >= 5.2", -- You can add Mjolnir core modules as dependencies, -- i.e. "mjolnir.application", "mjolnir.hotkey", whatever. -- -- For example, if your module depends on `mjolnir.fnutils`, -- uncomment the following line: -- -- "mjolnir.fnutils", "mjolnir.application", "mjolnir._asm.modal_hotkey" } -- Build rules: build = { type = "builtin", modules = { -- This is the top-level module: ["mjolnir.th.hints"] = "hints.lua", -- If you have an internal C or Objective-C submodule, include it here: ["mjolnir.th.hints.internal"] = "hints.m", -- Note: the key on the left side is the require-path; the value -- on the right is the filename relative to the current dir. }, }