Merge pull request #1962 from srvsh/remove_needs_restart
templates.yml: Remove 'needs_restart' field from template definitionsmaster
commit
7d44fa70ac
|
@ -2,17 +2,11 @@
|
|||
# Template definitions for goodies.
|
||||
|
||||
# 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:
|
||||
pm:
|
||||
label: Perl Module
|
||||
input: lib/DDG/Goodie/Example.pm
|
||||
output: lib/DDG/Goodie/<:$ia_path:>.pm
|
||||
needs_restart: true
|
||||
|
||||
test:
|
||||
label: Perl Module Test
|
||||
|
@ -38,7 +32,6 @@ templates:
|
|||
label: CheatSheet JSON
|
||||
input: share/goodie/cheat_sheets/json/example.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
|
||||
# sub-type of an Instant Answer type. Each set can have some 'required'
|
||||
|
|
Loading…
Reference in New Issue