forked from simd-everywhere/simde
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
38 lines (33 loc) · 810 Bytes
/
netlify.toml
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
27
28
29
30
31
32
33
34
35
36
37
38
[build]
publish = 'web'
command = '''
for header in simde/*/*.h; do
header="$(echo "$header" | cut -b7-)"
mkdir -p web/amalgamated/$(dirname "$header");
./amalgamate.py "simde/$header" > web/amalgamated/"${header}";
done
'''
[[headers]]
for = "/amalgamated/*/*.h"
[headers.values]
Access-Control-Allow-Origin = "*"
[[redirects]]
from = "/godbolt/simple"
to = "https://godbolt.org/z/Y3XexA"
status = 302
force = true
[[redirects]]
from = "/godbolt/demo"
to = "https://godbolt.org/z/keBtF9"
status = 302
force = true
[[redirects]]
from = "/godbolt/arm/neon/simple"
to = "https://godbolt.org/z/6rdp4L"
status = 302
force = true
[[redirects]]
from = "/godbolt/arm/neon/demo"
to = "https://godbolt.org/z/sHVz49"
status = 302
force = true