mirror of
https://github.com/prymitive/karma
synced 2026-02-13 20:59:53 +00:00
11 lines
476 B
Makefile
11 lines
476 B
Makefile
NAME := karma
|
|
VERSION ?= $(shell git describe --tags --always --dirty='-dev')
|
|
|
|
# define a recursive wildcard function, we'll need it to find deeply nested
|
|
# sources in the ui directory
|
|
# based on http://blog.jgc.org/2011/07/gnu-make-recursive-wildcard-function.html
|
|
rwildcard = $(foreach d, $(wildcard $1*), $(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
|
|
|
|
SOURCES_GO = $(call rwildcard, cmd internal, *)
|
|
SOURCES_JS = $(call rwildcard, ui/dist/index.html ui/src, *)
|