Skip to content

Commit

Permalink
fix (build): Fix CI buid after the Big 🎂 Birthday Move
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Apr 16, 2024
1 parent 80df284 commit bd07df1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
"node_modules": false,
"rdf": false,
"site": false,
"test": false,
"tools": false,
"web": false,
"BUILT": false
Expand Down
2 changes: 1 addition & 1 deletion docs/blog/posts/2024-04.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ I've been reading up more about Linked Data & RDF etc. and started to evolve Eno

The new [internal implementation doc](../../dev/implementation.md) keeps my help my sanity about what's where in the Enola code.

The new `--load` CLI option can now read Turtle 🐢 `.ttl` files, so you can do e.g. `./enola --load common/rdf/src/test/resources/picasso.ttl http://example.enola.dev/Picasso` and get TODO.
The new `--load` CLI option can now read Turtle 🐢 `.ttl` files, so you can do e.g. `./enola get --load file:test/picasso.ttl http://example.enola.dev/Picasso` and get TODO.

<!-- TODO Link to /use/ doc with example about how to do this - or perhaps simply point to models/build.bash -->

Expand Down
4 changes: 2 additions & 2 deletions docs/use/rosetta/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ The `model.binpb` now contains _[binary protocol buffer wire format](https://pro
## Turtle 🐢 to JSON-LD 🔗

```bash cd .././.././..
$ ./enola rosetta --in file:common/rdf/src/test/resources/picasso.ttl --out file:picasso.jsonld
$ ./enola rosetta --in file:test/picasso.ttl --out file:picasso.jsonld
...
```

## Turtle 🐢 to Things ⛓️

```bash cd .././.././..
$ ./enola rosetta --in file:common/rdf/src/test/resources/picasso.ttl --out file:picasso.thing.yaml
$ ./enola rosetta --in file:test/picasso.ttl --out file:picasso.thing.yaml
...
```

Expand Down
5 changes: 3 additions & 2 deletions tools/distro/build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ mkdir -p site/download/latest/
set -euox pipefail

# Build the end-user distributed executable fat über JAR
# NB: "bazelisk build //..." does *NOT* build "//cli:enola_deploy.jar", for some reason
bazelisk build //cli:enola_deploy.jar
# NB: "bazelisk build //..." does *NOT* build *_deploy.jar, for some reason
bazelisk build //java/dev/enola/cli:enola_deploy.jar
cp tools/distro/execjar-header.bash site/download/latest/enola
cat bazel-bin/cli/enola_deploy.jar >>site/download/latest/enola
chmod +x site/download/latest/enola

# Build the Container Image
# NB: This must work both on Docker (which turns it into docker buildx build) and Podman!
Expand Down
4 changes: 2 additions & 2 deletions tools/protoc/protoc.bash
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ protoc \
--jsonschema_opt=file_extension=schema.json \
--jsonschema_opt=disallow_additional_properties \
--jsonschema_out=docs/models/enola/schemas/ \
common/thing/thing.proto \
core/lib/src/main/java/dev/enola/core/meta/enola_meta.proto
java/dev/enola/thing/thing.proto \
java/dev/enola/core/meta/enola_meta.proto

# TODO Add core/lib/src/main/java/dev/enola/core/enola_core.proto
# when https://github.com/chrusty/protoc-gen-jsonschema/issues/180 is fixed
Expand Down

0 comments on commit bd07df1

Please sign in to comment.