Skip to content

Commit

Permalink
Tweak bundle.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
rjyounes committed Jul 10, 2024
1 parent 7ca0a82 commit 4227932
Showing 1 changed file with 31 additions and 35 deletions.
66 changes: 31 additions & 35 deletions bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ tools:
- "-t"
- "{outputFile}"
actions:
# Validate ontology
- action: "verify"
message: "Validating ontology via SHACL."
type: "shacl"
Expand All @@ -78,7 +77,7 @@ actions:
shapes:
source: "{input}/validation/shapes/ontologyShapes.ttl"
- action: "verify"
message: "Verifying ontology via queries."
message: "Validating ontology via queries."
type: "construct"
inference: "none"
source: "{input}/ontologies"
Expand Down Expand Up @@ -115,7 +114,7 @@ actions:
- action: "sparql"
message: "Generating rdfs:label and rdfs:comment for backward compatibility."
source: "{output}/ontologies"
target: "{output}/ontologies/gistRdfsAnnotations.ttl"
target: "{output}/ontologies/gistRdfsAnnotations{version}.ttl"
format: "turtle"
includes:
- "*.ttl"
Expand Down Expand Up @@ -192,59 +191,56 @@ actions:
source: "{input}/LICENSE.txt"
target: "{output}"
- action: "copy"
message: "Copying documentation and patching local links."
message: "Copying documentation."
source: "{input}/docs"
target: "{output}/Documentation"
replace:
from: "\\./models"
to: "\\./Models"
target: "{output}/documentation"
includes:
- "ReleaseNotes.md"
- "MajorVersionMigration.md"
- "Namespace.md"
- action: "copy"
message: "Copying readme and gist logo to Documentation directory."
message: "Copying readme and gist logo to documentation directory."
source: "{input}"
target: "{output}/Documentation/"
target: "{output}/documentation/"
includes:
- "README.md"
- "gist-logo.png"
- action: "copy"
message: "Copying model documentation."
source: "{input}/docs/models"
target: "{output}/Documentation/Models"
target: "{output}/documentation/models"
- action: "markdown"
message: "Formatting documentation as HTML."
source: "{output}/Documentation/"
target: "{output}/Documentation/"
source: "{output}/documentation/"
target: "{output}/documentation/"
includes:
- "*.md"
- action: "markdown"
message: "Formatting model documentation as HTML."
source: "{output}/Documentation/Models/"
target: "{output}/Documentation/Models/"
source: "{output}/documentation/models/"
target: "{output}/documentation/models/"
includes:
- "*.md"
- action: "move"
message: "Patching local links in the documentation directory."
source: "{output}/Documentation/"
target: "{output}/Documentation/"
source: "{output}/documentation/"
target: "{output}/documentation/"
includes:
- "*.html"
replace:
from: "\\./(.*)\\.md"
to: "./\\g<1>.html"
- action: "move"
message: "Patching local links in the documentation models directory."
source: "{output}/Documentation/Models/"
target: "{output}/Documentation/Models/"
source: "{output}/documentation/models/"
target: "{output}/documentation/models/"
includes:
- "*.html"
replace:
from: "\\(./(.*)\\.md\\)"
to: "(./\\g<1>.html)"
- action: "copy"
message: "Copying migration queries and scripts."
message: "Copying migration queries, scripts, and documentation."
source: "{input}/migration"
target: "{output}/migration"
- action: "markdown"
Expand All @@ -255,14 +251,14 @@ actions:
- "*.md"
- action: "markdown"
message: "Formatting gist 13.0 migration documentation as HTML."
source: "{output}/migration/v11.0/"
target: "{output}/migration/v11.0/"
source: "{output}/migration/v13.0/"
target: "{output}/migration/v13.0/"
includes:
- "*.md"
- action: "move"
message: "Patching local links in the migration directory."
source: "{output}/Migration/v11.0/"
target: "{output}/Migration/v11.0/"
message: "Patching local links in gist 11.0 migration documentation."
source: "{output}/migration/v11.0/"
target: "{output}/migration/v11.0/"
includes:
- "*.html"
# Replaces ./*.md local links with ./*.html
Expand All @@ -277,39 +273,39 @@ actions:
- "*.md"
- action: "markdown"
message: "Formatting gist 13.0 migration documentation as HTML."
source: "{output}/migration/v12.0/"
target: "{output}/migration/v12.0/"
source: "{output}/migration/v13.0/"
target: "{output}/migration/v13.0/"
includes:
- "*.md"
- action: "move"
message: "Patching local links in the migration directory."
source: "{output}/Migration/v12.0/"
target: "{output}/Migration/v12.0/"
message: "Patching local links in gist 12.0 migration documentation."
source: "{output}/migration/v12.0/"
target: "{output}/migration/v12.0/"
includes:
- "*.html"
# Replaces ./*.md local links with ./*.html
replace:
from: "./(.*)\\.md"
to: "./\\g<1>.html"
- action: "move"
message: "Patching local links in the v13.0 migration directory."
message: "Patching local links in gist 13.0 migration documentation."
source: "{output}/migration/v13.0/"
target: "{output}/migration/v13.0/"
includes:
- "*.md"
replace:
from: "docs/models"
to: "Documentation/Models"
to: "documentation/models"
- action: "markdown"
message: "Formatting gist 13.0 migration documentation as HTML."
source: "{output}/migration/v13.0/"
target: "{output}/migration/v13.0/"
includes:
- "*.md"
- action: "move"
message: "Patching local links in the migration directory."
source: "{output}/Migration/v13.0/"
target: "{output}/Migration/v13.0/"
message: "Patching local links in gist 13.0 migration documentation."
source: "{output}/migration/v13.0/"
target: "{output}/migration/v13.0/"
includes:
- "*.html"
# Replaces ./*.md local links with ./*.html
Expand Down

0 comments on commit 4227932

Please sign in to comment.