Commit 391eef81 authored by Delisa Mason's avatar Delisa Mason

build: Add config files for linting, completion

parent 49a38b6f
ignore = { "212/self", "212/dt", "212/key", "212/code", "212/game" }
std = "_G+love"
{"luaVersion":"love"}
all: build
.PHONY: build add-map add-state add-system help
.PHONY: build add-map add-state add-system help test
build: ## Build and run the project
@love .
......@@ -8,6 +8,9 @@ build: ## Build and run the project
help: ## Show help text
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
test: ## Lint and run tests
@luacheck game/
add-map: ## Create a new map asset
ifeq ($(name),)
@$(error name is not defined. Run with `make add-map name=[value]`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment