Artifact [f6a7de0ae1]
Not logged in

Artifact f6a7de0ae1e801f4a695def0a0f2c17461b2e486:


local target = {}

target.name = "build"

target.deps = {"configure"}

target.execute = function( cfg )
  print( "* Building everything..." )
  local err
  if io.exists('.tup/db') == false then
    err = os.execute('tup init')
    if err ~= true then return "could not init tup database" end
  end
  err = os.execute('tup upd')
  if err ~= true then return "could not build targets!" else return true end
end

return target