From 78b983b7b729ca00a96c9c8d1ae56d40720dd144 Mon Sep 17 00:00:00 2001 From: Thomas Wilmering Date: Thu, 13 Jun 2024 12:16:53 +0100 Subject: [PATCH] update ROBOT to 1.9.6, task build includes ROBOT download --- README-public.md | 2 +- README.md | 2 +- Taskfile.yaml | 1 + TaskfileCustom.yaml | 8 +------- tests/test_elk.ttl | 3 ++- 5 files changed, 6 insertions(+), 10 deletions(-) diff --git a/README-public.md b/README-public.md index 9bb9b9a..8d7fbbd 100644 --- a/README-public.md +++ b/README-public.md @@ -8,6 +8,6 @@ You can install it with the [cmemc](https://eccenca.com/go/cmemc) command line clients like this: ``` -cmemc admin workspace python install cmem-plugin-robotreason +➜ task deploy ``` diff --git a/README.md b/README.md index 9f2c73d..c5fc198 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ removed with `task custom:clean_robot`. ``` -➜ task clean custom:build +➜ task clean build ``` If the files already exist locally, and you want to skip the download entirely, use: diff --git a/Taskfile.yaml b/Taskfile.yaml index 5f3c30d..13c8ad1 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -176,6 +176,7 @@ tasks: <<: *preparation deps: - clean + - custom:download_robot - poetry:check cmds: - poetry build diff --git a/TaskfileCustom.yaml b/TaskfileCustom.yaml index 496921e..ad07e07 100644 --- a/TaskfileCustom.yaml +++ b/TaskfileCustom.yaml @@ -6,17 +6,11 @@ vars: tasks: - build: - desc: Download ROBOT files, build tarball and a wheel package. - deps: - - download_robot - - :build - download_robot: desc: Download ROBOT jar and bash script cmds: - mkdir -p {{.ROBOT_DIR}} - - curl -L -C - -o {{.ROBOT_DIR}}/robot.jar https://github.com/ontodev/robot/releases/download/v1.9.4/robot.jar + - curl -L -C - -o {{.ROBOT_DIR}}/robot.jar https://github.com/ontodev/robot/releases/download/v1.9.6/robot.jar - curl -L -C - -o {{.ROBOT_DIR}}/robot https://raw.githubusercontent.com/ontodev/robot/2345420d04ab29b1d7087f22e3a666295ece6002/bin/robot - chmod +x {{.ROBOT_DIR}}/robot diff --git a/tests/test_elk.ttl b/tests/test_elk.ttl index bb94b03..f766944 100644 --- a/tests/test_elk.ttl +++ b/tests/test_elk.ttl @@ -78,6 +78,7 @@ vocab:grownup , vocab:old_lady , vocab:person , + vocab:pet_owner , vocab:woman . @@ -126,4 +127,4 @@ vocab:pet_owner . -### Generated by the OWL API (version 4.5.25) https://github.com/owlcs/owlapi +### Generated by the OWL API (version 4.5.29) https://github.com/owlcs/owlapi