mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
plugins: add support for categories; fixes #1
This commit is contained in:
@@ -3,7 +3,12 @@ PAGER?= less
|
||||
all:
|
||||
@cat ${.CURDIR}/README.md | ${PAGER}
|
||||
|
||||
PLUGIN_DIRS!= ls -1d [a-z]*
|
||||
CATEGORIES= devel
|
||||
|
||||
.for CATEGORY in ${CATEGORIES}
|
||||
_PLUGIN_DIRS!= ls -1d ${CATEGORY}/*
|
||||
PLUGIN_DIRS+= ${_PLUGIN_DIRS}
|
||||
.endfor
|
||||
|
||||
list:
|
||||
@echo ${PLUGIN_DIRS}
|
||||
|
||||
Reference in New Issue
Block a user