diff --git a/.gitea/workflows/game.yaml b/.gitea/workflows/game.yaml deleted file mode 100644 index a7a700e..0000000 --- a/.gitea/workflows/game.yaml +++ /dev/null @@ -1,6 +0,0 @@ -name: LÖVE/Lua Library -on: [push] - -jobs: - Static-Analysis: - uses: jmaa/workflows/.gitea/workflows/lua.yaml@main diff --git a/.gitea/workflows/lua-library.yaml b/.gitea/workflows/lua-library.yaml new file mode 100644 index 0000000..af36b5c --- /dev/null +++ b/.gitea/workflows/lua-library.yaml @@ -0,0 +1,8 @@ +name: Lua Library +on: [push] + +jobs: + Lua-Testing: + uses: jmaa/workflows/.gitea/workflows/lua-testing.yaml@v6.19 + Static-Analysis: + uses: jmaa/workflows/.gitea/workflows/lua-static-analysis.yaml@v6.19 diff --git a/.luacheckrc b/.luacheckrc index 77b1724..4789984 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -1,6 +1,6 @@ std = "max" cache = true -include_files = {"src/**/*.lua", "content/**/*.lua", "*.luacheckrc"} +include_files = {"**/*.lua"} exclude_files = {} self = false max_line_length=false diff --git a/README.md b/README.md new file mode 100644 index 0000000..8e1d876 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Palette Swap + +Utility library for creating palette swaps of LÖVE-based images. diff --git a/init.lua b/init.lua index 47158cd..89abffe 100644 --- a/init.lua +++ b/init.lua @@ -1,3 +1,4 @@ +--- Utility library for creating palette swaps of LÖVE-based images. local palette_swap = {} @@ -178,4 +179,3 @@ end -- Return return palette_swap - diff --git a/test/init.lua b/test/init.lua new file mode 100644 index 0000000..1a5b124 --- /dev/null +++ b/test/init.lua @@ -0,0 +1 @@ +require 'init'