Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 401 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 401 Bytes

Tupco

Collection of Tupfiles

Usage

  1. Clone this repository or add it as a submodule
  2. Write Tupfile.lua.
-- Example Tupfile.lua
tup.include('tupco/unit.lua')

local gcc = toolchains.gcc
local executable = gcc.executable

all = unit {
  recipes = {
    ["main"] = executable {
      sources = { 'src/main.c' },
    }
  },
  profiles = {
    gcc.profiles.debug,
  }
}
  1. Run tup.