diff options
author | garret <garret@airmail.cc> | 2022-11-27 18:46:43 +0000 |
---|---|---|
committer | garret <garret@airmail.cc> | 2022-11-27 18:46:43 +0000 |
commit | 4e3cfaf2efefdac2fa947f17b61bb380a3ed8bc3 (patch) | |
tree | 0cceb93d59a38b7ef6090e21dd893303a29dacac /conf.lua | |
parent | 0e8df90aad470a84f2b1b028e5e10f49d4ccfb46 (diff) | |
download | depctrl-feedmaker-4e3cfaf2efefdac2fa947f17b61bb380a3ed8bc3.tar.gz depctrl-feedmaker-4e3cfaf2efefdac2fa947f17b61bb380a3ed8bc3.tar.bz2 depctrl-feedmaker-4e3cfaf2efefdac2fa947f17b61bb380a3ed8bc3.zip |
update sample config
Diffstat (limited to 'conf.lua')
-rwxr-xr-x | conf.lua | 23 |
1 files changed, 15 insertions, 8 deletions
@@ -1,21 +1,28 @@ --- untested, may or may not work - -local function ignore() +local function macro_ignore() return script_namespace == "garret.restyler" end +local function module_ignore() +end + local conf = { name = "garret's aegisub scripts", description = "Little utilities for aegisub that make my life easier", maintainer = "garret", knownFeeds = {}, url = "https://github.com/garret1317/aegisub-scripts/", - baseUrl = "https://github.com/garret1317/aegisub-scripts/", - fileBaseUrl = "https://raw.githubusercontent.com/garret1317/aegisub-scripts/@{channel}/@{namespace}", - scriptUrl = "@{baseUrl}", + baseUrl = "https://raw.githubusercontent.com/garret1317/aegisub-scripts/master", + scriptUrl = "@{baseUrl}#@{namespace}", + macros = { + fileBaseUrl = "@{baseUrl}/macros/@{namespace}", + ignoreCondition = macro_ignore, + }, + modules = { + fileBaseUrl = "@{baseUrl}/modules/@{namespacePath}", + ignoreCondition = module_ignore, + }, fileUrl = "@{fileBaseUrl}@{fileName}", - ignoreCondition = ignore, - channel = "release" + channel = "master" } return conf |