Skip to content

Using lakefile from rockspec. #37

@moteus

Description

@moteus

I try use lake to build rockspec (i play with AesFileEncrypt)
This is fragment from my rockspec

local LAKE_FLAGS =
  " ROOT=$(PREFIX)"                ..
  " LUADIR=$(LUADIR)"              ..
  " LIBDIR=$(LIBDIR)"              ..
  " LUA_INCLUDE_DIR=$(LUA_INCDIR)" ..
  " LUA_LIB_DIR=$(LUA_LIBDIR)"     ..
  " LUA_LIBS=$(LUALIB)"            ..
""

local LAKE = "lake " .. LAKE_FLAGS .. " "

build = {
  type             = "command";
  copy_directories = {};
  build_command    = LAKE .. "build",
  install_command  = LAKE .. "test",
}

The problem is that "$(LUALIB)" already has extension, and lake add one extra extension when build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions