Skip to content

Commit

Permalink
Add auto-generate caution + alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
puhitaku committed May 23, 2020
1 parent 2e5fc62 commit 7708e7c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion r3build.skeleton.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# This file shows the skeleton of r3build.toml.
# This file is automatically generated by r3build.internal.defconv. DO NOT EDIT.

# This is the skeleton of r3build.toml.
# It is structured with a bunch of sections that contain multiple keys and values.

# Values in this file are the default value of corresponding keys.
Expand Down
1 change: 1 addition & 0 deletions r3build/config_model.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This file is automatically generated by r3build.internal.defconv. DO NOT EDIT.
from typing import Dict, List, Union


Expand Down
7 changes: 5 additions & 2 deletions r3build/internal/defconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,12 @@ def add_mlc(s, blank=True):
if blank:
doc.add(br)

br, br2 = tk.ws('\n'), tk.ws('\n\n')
br = tk.ws('\n')

doc = tk.document()
doc.add(tk.comment('This file shows the skeleton of r3build.toml.'))
doc.add(tk.comment('This file is automatically generated by r3build.internal.defconv. DO NOT EDIT.'))
doc.add(br)
doc.add(tk.comment('This is the skeleton of r3build.toml.'))
doc.add(tk.comment('It is structured with a bunch of sections that contain multiple keys and values.'))
doc.add(br)
doc.add(tk.comment('Values in this file are the default value of corresponding keys.'))
Expand Down Expand Up @@ -163,6 +165,7 @@ def add_mlc(s, blank=True):


def2model_template = '''
# This file is automatically generated by r3build.internal.defconv. DO NOT EDIT.
from typing import Dict, List, Union
Expand Down

0 comments on commit 7708e7c

Please sign in to comment.