From cdd7b6af090e034f411f9038a6a457ff124c2ab4 Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Fri, 26 Apr 2024 14:19:28 +0200 Subject: [PATCH] Bumped workflows to v6.19 --- .gitea/workflows/game.yaml | 6 ------ .gitea/workflows/lua-library.yaml | 8 ++++++++ .luacheckrc | 2 +- README.md | 3 +++ init.lua | 2 +- test/init.lua | 1 + 6 files changed, 14 insertions(+), 8 deletions(-) delete mode 100644 .gitea/workflows/game.yaml create mode 100644 .gitea/workflows/lua-library.yaml create mode 100644 README.md create mode 100644 test/init.lua 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'