Skip to content

Commit

Permalink
Add format command in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
victorpopkov committed Jul 22, 2024
1 parent 5297736 commit bde2d44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ help:
@printf "Please use 'make <target>' where '<target>' is one of:\n\n"
@echo " clean to run ldocclean + testclean + workshopclean"
@echo " dev to run reinstall + ldoc + lint + testclean + test"
@echo " format to run code formatting (prettier + stylua)"
@echo " gitrelease to commit modinfo.lua and CHANGELOG.md + add a new tag"
@echo " install to install the mod"
@echo " ldoc to generate an LDoc documentation"
Expand All @@ -39,6 +40,8 @@ clean: ldocclean testclean workshopclean

dev: reinstall ldoc lint testclean test

format: prettier stylua

gitrelease:
@echo "Latest Git tag: ${GIT_LATEST_TAG}"
@echo "Modinfo version: ${MODINFO_VERSION}\n"
Expand Down

0 comments on commit bde2d44

Please sign in to comment.