Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nexts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Teckids
Projekt Hack-n-Fun
Hack n Next
nexts
Commits
a20708e6
Unverified
Commit
a20708e6
authored
2 months ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Build schema
parent
f8f4f8f6
Branches
main
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+12
-3
12 additions, 3 deletions
Makefile
schema.yaml
+0
-11
0 additions, 11 deletions
schema.yaml
with
12 additions
and
14 deletions
Makefile
+
12
−
3
View file @
a20708e6
OUTDIR
:=
public
BASE_URI
:=
https://hacknnext.diy
NEXTS
=
$(
wildcard nexts/
*
)
$(OUTDIR)/schema/index.jsonld
:
schema.yaml
mkdir
-p
"
$(
@D
)
"
gen-jsonld-context
--no-mergeimports
--base
"https://hacknnext.diy/schema#"
schema.yaml
>
"
$@
"
$(OUTDIR)/schema/index.ttl
:
schema.yaml
mkdir
-p
"
$(
@D
)
"
gen-rdf
--no-mergeimports
schema.yaml
>
"
$@
"
$(OUTDIR)/nexts/%/instructions.pdf
:
nexts/%/instructions.typ nexts/%/next.yaml $(wildcard parts/*/*) $(wildcard templates/*)
mkdir
-p
"
$(
@D
)
"
typst compile
--root
.
"
$<
"
"
$@
"
$(OUTDIR)/nexts/%/index.jsonld
:
nexts/%/next.yaml
schema.yaml
$(OUTDIR)/nexts/%/index.jsonld
:
nexts/%/next.yaml
$(OUTDIR)/schema/index.jsonld
mkdir
-p
"
$(
@D
)
"
linkml-convert
-t
json-ld
-s
schema.yaml
-C
Next
-o
"
$@
"
"
$<
"
linkml-convert
-t
json-ld
-s
schema.yaml
-C
Next
-c
"
$(
BASE_URI
)
/schema/index.jsonld"
-o
"
$@
"
"
$<
"
$(OUTDIR)/nexts/%/index.ttl
:
nexts/%/next.yaml
schema.yam
l
$(OUTDIR)/nexts/%/index.ttl
:
nexts/%/next.yaml
$(OUTDIR)/schema/index.tt
l
mkdir
-p
"
$(
@D
)
"
linkml-convert
-t
ttl
-s
schema.yaml
-C
Next
-o
"
$@
"
"
$<
"
...
...
This diff is collapsed.
Click to expand it.
schema.yaml
+
0
−
11
View file @
a20708e6
...
...
@@ -62,17 +62,6 @@ classes:
range
:
integer
required
:
true
minimum_value
:
1
Catalog
:
tree_root
:
true
attributes
:
nexts
:
multivalued
:
true
inlined_as_list
:
true
range
:
Next
parts
:
multivalued
:
true
inlined_as_list
:
true
range
:
Part
Transition
:
class_uri
:
sf:Transition
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment