-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (19 loc) · 668 Bytes
/
.travis.yml
File metadata and controls
26 lines (19 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: bash
addons:
apt:
packages:
- raptor2-utils
script:
- echo "Starting build!"
- find -type f -name "*.ttl" -not -path "./.git/*" | sed 's/.*/"&"/' | xargs -n1 rapper -q -i turtle > /dev/null
- echo "Finished build."
# What's going on?
# find -type f -name "*.ttl" -not -path "./.git/*":
# Give me all Turtle files except the ones in the .git folder
# sed 's/.*/"&"/'
# Surround the file names with quotation marks (we have spaces in some paths...)
# xargs -n1 rapper -q -i turtle
# Let rapper parse each file in silent mode
# > /dev/null
# I am not interested in stdout, only stderr
# contact: Sebastian Bader (2019)