templates.yml: Remove 'needs_restart' field...
...from template definitions. See https://github.com/duckduckgo/p5-app-duckpan/pull/296 for details
This commit is contained in:
parent
3d4a1a53e9
commit
f5b26b9969
@ -2,17 +2,11 @@
|
|||||||
# Template definitions for goodies.
|
# Template definitions for goodies.
|
||||||
|
|
||||||
# Each template represents one input and one output file.
|
# Each template represents one input and one output file.
|
||||||
# Modification of files generated by certain templates will need to restart a
|
|
||||||
# running duckpan instance in order to be recognized:
|
|
||||||
# - Perl modules
|
|
||||||
# - Cheat Sheet JSON, since they are pre-loaded
|
|
||||||
# This is indicated by the 'needs_restart' field.
|
|
||||||
templates:
|
templates:
|
||||||
pm:
|
pm:
|
||||||
label: Perl Module
|
label: Perl Module
|
||||||
input: lib/DDG/Goodie/Example.pm
|
input: lib/DDG/Goodie/Example.pm
|
||||||
output: lib/DDG/Goodie/<:$ia_path:>.pm
|
output: lib/DDG/Goodie/<:$ia_path:>.pm
|
||||||
needs_restart: true
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
label: Perl Module Test
|
label: Perl Module Test
|
||||||
@ -38,7 +32,6 @@ templates:
|
|||||||
label: CheatSheet JSON
|
label: CheatSheet JSON
|
||||||
input: share/goodie/cheat_sheets/json/example.json
|
input: share/goodie/cheat_sheets/json/example.json
|
||||||
output: share/goodie/cheat_sheets/json/<:$ia_id:>.json
|
output: share/goodie/cheat_sheets/json/<:$ia_id:>.json
|
||||||
needs_restart: true
|
|
||||||
|
|
||||||
# A template set is a collection of templates used to generate all files of a
|
# A template set is a collection of templates used to generate all files of a
|
||||||
# sub-type of an Instant Answer type. Each set can have some 'required'
|
# sub-type of an Instant Answer type. Each set can have some 'required'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user