Skip to content

Commit

Permalink
update ROBOT to 1.9.6, task build includes ROBOT download
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Jun 13, 2024
1 parent dd18dd5 commit 78b983b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README-public.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ tasks:
<<: *preparation
deps:
- clean
- custom:download_robot
- poetry:check
cmds:
- poetry build
Expand Down
8 changes: 1 addition & 7 deletions TaskfileCustom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion tests/test_elk.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
vocab:grownup ,
vocab:old_lady ,
vocab:person ,
vocab:pet_owner ,
vocab:woman .


Expand Down Expand Up @@ -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

0 comments on commit 78b983b

Please sign in to comment.