diff --git a/.github/workflows/busted.yml b/.github/workflows/busted.yml index 00cefeb..d8d0da0 100644 --- a/.github/workflows/busted.yml +++ b/.github/workflows/busted.yml @@ -48,3 +48,13 @@ jobs: run: luacov-coveralls -e .luarocks -e spec env: COVERALLS_REPO_TOKEN: ${{ github.token }} + + finish: + if: always() + needs: busted + runs-on: ubuntu-latest + steps: + - name: Close coveralls build + uses: coverallsapp/github-action@v2 + with: + parallel-finished: true diff --git a/rockspecs/kiwi-0.1.0-1.rockspec b/rockspecs/kiwi-0.1.0-1.rockspec new file mode 100644 index 0000000..4f245f0 --- /dev/null +++ b/rockspecs/kiwi-0.1.0-1.rockspec @@ -0,0 +1,40 @@ +rockspec_format = "3.0" +package = "kiwi" +version = "0.1.0-1" +source = { + url = "git+https://github.com/jkl1337/ljkiwi", + tag = "v0.1.0", +} +description = { + summary = "LuaJIT FFI and Lua binding for the Kiwi constraint solver.", + detailed = [[ + kiwi is a LuaJIT FFI and Lua binding for the Kiwi constraint solver. Kiwi is a fast + implementation of the Cassowary constraint solving algorithm. kiwi provides + reasonably efficient bindings using the LuaJIT FFI and convential Lua C bindings.]], + license = "MIT", + issues_url = "https://github.com/jkl1337/ljkiwi/issues", + maintainer = "John Luebs", +} +dependencies = { + "lua >= 5.1", +} + +build = { + type = "make", + build_variables = { + LUAROCKS = "1", + LUA = "$(LUA)", + CFLAGS = "$(CFLAGS)", + LUA_INCDIR = "$(LUA_INCDIR)", + LUA_LIBDIR = "$(LUA_LIBDIR)", + LUALIB = "$(LUALIB)", + LIBFLAG = "$(LIBFLAG)", + LIB_EXT = "$(LIB_EXTENSION)", + OBJ_EXT = "$(OBJ_EXTENSION)", + }, + install_variables = { + INST_LIBDIR = "$(LIBDIR)", + INST_LUADIR = "$(LUADIR)", + LIB_EXT = "$(LIB_EXTENSION)", + }, +} diff --git a/kiwi-scm-1.rockspec b/rockspecs/kiwi-scm-1.rockspec similarity index 100% rename from kiwi-scm-1.rockspec rename to rockspecs/kiwi-scm-1.rockspec