forked from shishak/feed2json.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
43 lines (30 loc) · 1.25 KB
/
Makefile
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
39
40
41
42
43
test-index:
curl --silent http://localhost:3000/
test-ok: test-ok-chilts test-ok-scripting test-ok-freecodecamp
test-ok-chilts-rss-minify:
curl --silent 'http://localhost:3000/convert?url=http://chilts.org/rss.xml&minify=t' | json_pp
echo
test-ok-chilts-rss-pretty:
curl --silent 'http://localhost:3000/convert?url=http://chilts.org/rss.xml&minify=f'
echo
test-ok-scripting-rss:
curl --silent http://localhost:3000/convert?url=http://scripting.com/rss.xml | json_pp
echo
test-ok-freecodecamp-rss:
curl --silent http://localhost:3000/convert?url=https://medium.freecodecamp.com/feed | json_pp
echo
test-ok-intertwingly-atom:
curl --silent http://localhost:3000/convert?url=http://www.intertwingly.net/blog/index.atom | json_pp
test-invalid-feed:
curl --silent http://localhost:3000/convert?url=https://google.com/ | json_pp
echo
test-not-found:
curl --silent http://localhost:3000/convert?url=http://chilts.org/feed.xml | json_pp
test-invalid-url:
curl --silent http://localhost:3000/convert?url=ftp://example.com/atom.xml | json_pp
test-empty-url:
curl --silent http://localhost:3000/convert?url= | json_pp
test-blank-url:
curl --silent http://localhost:3000/convert?url | json_pp
test-no-url:
curl --silent http://localhost:3000/convert | json_pp