File tree 2 files changed +67
-0
lines changed
2 files changed +67
-0
lines changed Original file line number Diff line number Diff line change
1
+ ctl :
2
+ plugins :
3
+
4
+
5
+ # git repo for copying setup for python package
6
+
7
+ - name : git_python_template
8
+ type : git
9
+ config :
10
+ repo_url : git@github.com:20c/ctl-tmpl-python
11
+ branch : origin/main
12
+
13
+ # template for copying template assets
14
+
15
+ - name : python_template
16
+ type : template
17
+ config :
18
+ # template root directory (path)
19
+ source : " {{ ctx.cachedir }}/github.com/20c/ctl-tmpl-python/base"
20
+ # template output directory (path)
21
+ output : " {{ ctx.home }}/.."
22
+ walk_dirs :
23
+ - .
24
+ vars :
25
+ - Ctl/tmplvars.yaml
26
+ ignore :
27
+ - \.git/
28
+
29
+ # ATTENTION: comment out if you dont want github workflows
30
+ - \.github/
31
+
32
+ # ATTENTION: uncomment after first generation as it does
33
+ # not do incremental merging / updates to the file and simply
34
+ # overrides it
35
+ #
36
+ # pyproject.toml
37
+
38
+ # chain plugin for entire template process
39
+
40
+ - name : sync_python
41
+ type : chain
42
+ config :
43
+ chain :
44
+ - stage : git_clone
45
+ plugin : git_python_template
46
+ action :
47
+ name : clone
48
+
49
+ - stage : git_pull
50
+ plugin : git_python_template
51
+ action :
52
+ name : pull
53
+
54
+ - stage : python_template
55
+ plugin : python_template
Original file line number Diff line number Diff line change
1
+ project_name : " my-project"
2
+
3
+ package :
4
+ repository : https://github.com/me/my_repo
5
+ description : my project
6
+ installable : false
7
+ documentation : false
8
+ copyright : 2021
9
+ license : Apache-2
10
+ status : 4 - Beta
11
+ version : 0.1.0
12
+
You can’t perform that action at this time.
0 commit comments