Skip to content
/ luv Public

Project build utility like Rake for luvit

Notifications You must be signed in to change notification settings

mgutz/luv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luv

Build utility like Rake for luvit

Installation

No npm-like utility yet :(

git clone https://github.com/mgutz/luv.git

# symlink the script
ln -sf `pwd`/luv/bin/luv ~/bin

Usage

Create a Luvfile.lua in your project's root directory.

-- Specify task depencencies in 3rd argument.
task("build", "Builds the project.", {"clean"}, function()
  print("build your project here")
end)

-- All tasks must have `name`, `description` and `action`.
task("clean", "Cleans the project.", function()
  print("cleaning")
end)

See all tasks

luv

Run a task

luv build

Specify task options.

-- Encode task options in the description `lapp` style
local desc = [[
Creates distribution
  -a,--archive-name (string)  Archive name.
]]
task("dist", desc, {"build"}, function(self)
  print("Creating distribution "..self.args["archive-name"])
end)

About

Project build utility like Rake for luvit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages