You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-11
Original file line number
Diff line number
Diff line change
@@ -11,15 +11,14 @@ This project contains an implementation of [Shape Expressions (ShEx)](http://www
11
11
12
12
## Introduction
13
13
14
-
This project contains a Scala implementation of [ShEx](http://shex.io/).
15
-
The library handles RDF using a
14
+
This project contains a Scala implementation of [ShEx](http://shex.io/).
15
+
The library handles RDF using a
16
16
[simple RDF library](https://github.com/weso/srdf), which at this moment has 2 implementations,
17
17
one using [Apache Jena](https://jena.apache.org/)
18
18
and another one using [RDF4j](http://rdf4j.org/).
19
19
This means that it is possible to use this library to validate RDF models from either Jena or RDF4J models,
20
20
as well as from external SPARQL endpoints.
21
21
22
-
23
22
## Installation and compilation
24
23
25
24
The project uses [sbt](http://www.scala-sbt.org/) for compilation as well as Java 1.8.
@@ -28,15 +27,15 @@ The project uses [sbt](http://www.scala-sbt.org/) for compilation as well as Jav
28
27
29
28
## Command line usage
30
29
31
-
It is possible to run `shex-s` as a command line tool.
30
+
It is possible to run `shex-s` as a command line tool.
32
31
33
-
To create the executable you have to install [scala-cli](https://scala-cli.virtuslab.org/) and once it is installed run the following command in the folder with the shexs repository:
32
+
To create the executable you can use the following command:
34
33
35
34
```
36
-
$ scala-cli package . -o shexs -f
35
+
sbt universal:packageBin
37
36
```
38
37
39
-
which will create an executable called `shexs`
38
+
and it will generate a zip file in the folder: `target/universal` which contains an executable called `shexs`
40
39
41
40
```
42
41
Usage:
@@ -70,7 +69,7 @@ Subcommands:
70
69
Schema processing actions
71
70
```
72
71
73
-
It is possible to create binaries for different platforms like Linux, Windows, MacOS, etc.
72
+
It is possible to create binaries for different platforms like Linux, Windows, MacOS, etc.
74
73
We would like to publish those binaries with each release as discribed [in this issue](https://github.com/weso/shex-s/issues/344).
75
74
76
75
### Validate option
@@ -148,16 +147,16 @@ sbt:shex> test
148
147
149
148
## Generating docs page
150
149
151
-
152
-
153
150
## Publishing to OSS-Sonatype
154
151
155
152
This project uses [the sbt ci release](https://github.com/olafurpg/sbt-ci-release) plugin for publishing to [OSS Sonatype](https://oss.sonatype.org/).
156
153
157
154
##### SNAPSHOT Releases
155
+
158
156
Open a PR and merge it to watch the CI release a -SNAPSHOT version
159
157
160
158
##### Full Library Releases
159
+
161
160
1. Push a tag and watch the CI do a regular release
162
161
2.`git tag -a v0.1.0 -m "v0.1.0"`
163
162
3.`git push origin v0.1.0`
@@ -192,7 +191,6 @@ Contributions are greatly appreciated.
192
191
Please fork this repository and open a
193
192
pull request to add more features or [submit issues](https://github.com/labra/shaclex/issues)
0 commit comments