-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcopier.yml
47 lines (46 loc) · 1.68 KB
/
copier.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
project_name: "DPF FAUST Gain"
plugin_description: "A simple audio volume gain plugin"
author_name: "Joe Doe"
domain: "example.com"
github_username: "{{author_name | lower | replace(' ', '.')}}"
email: "{{github_username}}@{{domain}}"
plugin_brand: "{{domain}}"
plugin_name:
type: str
default: "{{project_name | replace(' ', '')}}"
help: The plugin name, which can be used as an identifier in source code
plugin_cname:
type: str
when: false
default: "{{plugin_name | lower}}"
help: A form of the plugin name suitable for filenames
plugin_uri: "https://{{domain}}/plugins/{{plugin_cname}}"
project_license: "MIT"
version: "0.1.0"
num_inputs:
type: int
default: 1
num_outputs:
type: int
default: 1
_subdirectory: template
_tasks:
- "echo 'Running post-project-generation hook...'"
- "echo 'Initializing new Git repository:'"
- "git init"
- "git remote add origin git@github.com:{{github_username}}/$(basename $(pwd)).git"
- "git config --get user.name >/dev/null || git config --no-global user.name '{{github_username}}'"
- "git config --get user.email >/dev/null || git config --no-global user.email '{{email}}'"
- "echo 'Adding Git submodule for DPF library:'"
- "git submodule add https://github.com/DISTRHO/DPF.git dpf"
- "echo 'Making initial Git commit:'"
- "git add -A"
- "git commit -m 'Initial commit'"
_message_after_copy: |
Your DPF/FAUST audio effect plugin project is now ready!
To compile it, change into the '{{repo_name}}' directory and type 'make'.
The plugin binaries and bundles will be placed in the 'bin' subdirectory.
Have fun!
_jinja_extensions:
- copier_templates_extensions.TemplateExtensionLoader
- extensions/context.py:ContextUpdater