Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ssorj committed Dec 30, 2024
1 parent 6890f04 commit 32e7ed4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .plano.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
from generate import *
from transom.planocommands import *

from generate import generate_objects, generate_index

@command
def generate():
"""
Generate input files from YAML config files
"""
generate_objects()
generate_index()

@command
def generate_diagrams():
"""
Generate SVG diagrams from D2 files
"""
for input_file in find("input/concepts/images", "*.d2"):
output_file = input_file.removesuffix(".d2") + ".svg"

Expand All @@ -18,6 +23,9 @@ def generate_diagrams():

@command
def update_crds():
"""
Update the CRD source files
"""
url = "https://github.com/skupperproject/skupper/archive/refs/heads/v2.tar.gz"
crd_dir = get_absolute_path("crds")

Expand Down

0 comments on commit 32e7ed4

Please sign in to comment.