vrtc / chorus (public) (License: CC0) (since 2023-08-12) (hash sha1)
World of Warcraft add-on stub. The overall goal is to create a specialized raid frame.

/Makefile (93ad51d2b9f3807d90a6d4d519a158092a0965f5) (1611 bytes) (mode 100644) (type blob)

# NAME must be in [a-z0-9] and must not contain special characters or
# delimiters. Otherwise, the game client will quietly ignore the add-on and not
# load it.
NAME=chorus
VERSION=0.7.0

srcdir=./

SHELL=/bin/sh

GIT=git
GITFLAGS=--git-dir=${srcdir}.git/

LUA=lua
LUAFLAGS=

LUACHECK=luacheck
LUACHECKFLAGS=--config ${srcdir}etc/luacheckrc.lua

LDOC=ldoc
LDOCFLAGS=

XMLLINT=xmllint
XMLLINTFLAGS=--nonet --schema ${srcdir}share/FrameXML/UI.xsd

INSTALL=unzip -d ${DESTDIR}Interface/AddOns

LUAFILES=${srcdir}src/*.lua ${srcdir}test/*.lua
XMLFILES=${srcdir}src/*.xml ${srcdir}test/*.xml

# Use the source directory name as project name, if not yet set.
NAME?=${shell basename ${realpath ${srcdir}}}
# Use `git` to infer the project's current version, if not yet set.
VERSION?=${shell ${GIT} ${GITFLAGS} describe}

sinclude ${srcdir}local/Makefile

all: | check

dist: ${NAME}-${VERSION}.zip | check

${NAME}-${VERSION}.zip: doc/html/index.html doc/html/ldoc.css
	${GIT} ${GITFLAGS} archive --format=zip \
		--prefix=${NAME}/doc/html/ \
		--add-file=doc/html/index.html \
		--add-file=doc/html/ldoc.css \
		--prefix=${NAME}/ --output=$@ HEAD

html: doc/html/index.html

doc/html/index.html: ${LUAFILES}
	test -d doc/ || mkdir doc/
	test -d doc/html/ || mkdir doc/html/
	${LDOC} ${LDOCFLAGS} --dir=doc/html/ --all \
	--project=${NAME} \
	--format=markdown \
	--date=`${GIT} ${GITFLAGS} log --format=%as -n 1` \
	$^

install: ${NAME}-${VERSION}.zip
	${INSTALL} $^

check-xml: ${XMLFILES}
	${XMLLINT} --noout ${XMLLINTFLAGS} $^

check-lua: ${LUAFILES}
	${LUACHECK} ${LUACHECKFLAGS} $^

check: | check-lua check-xml


Mode Type Size Ref File
100644 blob 35 5c40e6e2862d70b5c51c326a13073a4012ac05c7 .gitignore
100644 blob 1611 93ad51d2b9f3807d90a6d4d519a158092a0965f5 Makefile
100644 blob 3394 c533054795d8cf2133ad109d077970b9af2386f1 README.adoc
100644 blob 236 02ba29305d1c8f6f5ea20a3afe0b3ba07c9d4dce chorus.toc
040000 tree - efa7258757edf7b888ea13c215e14b497fef8a16 doc
040000 tree - b232717e4ce1bb949a6e4e68fbf679b026b48fd0 etc
040000 tree - c04e1001c2dd401037b01ddd04fdeccc99be2ec3 share
040000 tree - ebdeb4d98909af86d2423f9845ed706466beccbc src
040000 tree - aa42c74ca307c2c3c635efd4186be6e5404a6303 test
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/vrtc/chorus

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/vrtc/chorus

Clone this repository using git:
git clone git://git.rocketgit.com/user/vrtc/chorus

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main