build: add Makefile

This commit is contained in:
2024-10-09 20:37:18 +03:00
parent 4c2b1261c8
commit 81ce5f0eab
3 changed files with 15 additions and 2 deletions

View File

@@ -7,3 +7,8 @@ trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[Makefile]
tab_width = 4
indent_size = 4
indent_style = tab

7
Makefile Normal file
View File

@@ -0,0 +1,7 @@
MUSHDIR=$(HOME)/Library/Application Support/CrossOver/Bottles/MushClient/drive_c/users/crossover/MUSHclient
PLUGDIR=$(MUSHDIR)/worlds/plugins
.PHONY: install/spellbook
install/spellbook:
cp "./Spellbook/Spellbook.xml" "$(PLUGDIR)"
@echo "Spellbook installed."

View File

@@ -8,8 +8,9 @@ Example:
## Installation
1. Download [Spellbook.xml](Spellbook.xml)
1. Open Plugin Manager (Ctrl+Alt+P)
1. Download [Spellbook.xml](Spellbook.xml), place it somewhere it wouldn't move (e.g. the plugins
directory in your MUSHClient installation)
1. Open Plugin Manager (Ctrl+Shift+P)
1. Add `Spellbook.xml` via the plugin manager
## Usage