Skip to content

Commit

Permalink
add luacheck and workflow / switch to mod.conf / add readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckarooBanzay committed Jan 28, 2024
1 parent 40b2390 commit 1b18cf2
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/luacheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: luacheck
on: [push, pull_request]
jobs:
luacheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Luacheck
uses: lunarmodules/luacheck@master
17 changes: 17 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
globals = {
"slats"
}

read_globals = {
-- Stdlib
string = {fields = {"split"}},
table = {fields = {"copy", "getn"}},

-- Minetest
"vector", "ItemStack",
"dump", "minetest",
"VoxelManip", "VoxelArea",

-- mods
"default"
}
1 change: 0 additions & 1 deletion depends.txt

This file was deleted.

3 changes: 3 additions & 0 deletions mod.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name = slats
description = Adds decorative slats that have a lot of uses
depends = default
18 changes: 18 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

slats

![](https://github.com/mt-mods/slats/workflows/luacheck/badge.svg)
[![License](https://img.shields.io/badge/License-MIT%20and%20CC%20BY--SA%203.0-green.svg)](license.txt)
[![Download](https://img.shields.io/badge/Download-ContentDB-blue.svg)](https://content.minetest.net/packages/mt-mods/slats)


# Overview

Adds decorative slats that have a lot of uses

![](./screenshot.png)

# License

* Code: `MIT`
* Textures: `CC BY-SA 3.0`

0 comments on commit 1b18cf2

Please sign in to comment.