-
Notifications
You must be signed in to change notification settings - Fork 0
Home
SigDev edited this page Dec 10, 2024
·
23 revisions
Templates - is a set of folders and files that are copied without replacement in the target project folder.
Tags - this is the suffix of the folder or file, that is separated by dots. A file or folder starting with @ will be copied only if the tag specified in the arguments of Pds. The tag name cannot match the name of the template; in case of a match, the template is used.
Macroses - strings to be replaced with specific values in files names, folders names and text files contents. Existing macros:
- %%=PROJ_NAME%% - project name by project root folder name
- %%=AUTHOR%% - author name pushed in arguments started from @
- %%=KEYWORDS%% - keywords pushed in arguments started from #
- %%=DESCRIPTION%% - description pushed in arguments framed from **
- %%=PROJ_PATH%% - full project folder path
- %%=CUR_DATE%% - current date in %Y.%m.%d format
- %%=CUR_YEAR%% - current date in %Y format
- %%=CUR_TIME%% - current time in %H:%M format
- %%=DATE_AS_NUMBER%% - current date in %Y%m%d format
- %%=VERSION%% - version parsed from tags
- %%=LINKS_TO_LOCALIZED%% - list of current files with locale parsed from tags
- %%=LICENSE%% - license parsed from tags
- %%=LINK_TO_LICENSE%% - list of current files with license parsed from tags
- %%=EMAIL%% - email parsed from tags
- %%=TAGS%% - list of pushed in arguments tags
- %%=MODULES%% - list of pushed in arguments templates modules
Version - used semantic version number, defined by next regular expression:
^\d+[-\._]\d+[-\._]\d+([-\._](a|alpha|b|beta|rc|r|d|debug|release|t|test)([-\._]\d+)?)?$
Locale - locale with format is [language_TERRITORY], like en_EN, ru_RU, etc...