File tree Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 6
6
- " 4.0"
7
7
- " 4.1"
8
8
- " stable"
9
+ script :
10
+ - npm test && npm run test:functional
9
11
cache :
10
12
directories :
11
13
- node_modules
Original file line number Diff line number Diff line change 43
43
"test" : " mocha test" ,
44
44
"test:quiet" : " mocha test --reporter=dot" ,
45
45
"lint" : " eslint lib test bin/tldr" ,
46
- "watch" : " mocha test --reporter=min --watch --growl"
46
+ "watch" : " mocha test --reporter=min --watch --growl" ,
47
+ "test:functional" : " ./test/functional-test.sh"
47
48
},
48
49
"dependencies" : {
49
50
"async" : " ~1.5.0" ,
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ shopt -s expand_aliases
4
+
5
+ alias tldr=" node bin/tldr"
6
+
7
+ function tldr-render-pages {
8
+ tldr zip && \
9
+ tldr du --os=linux && \
10
+ tldr du --os=osx && \
11
+ tldr --random && \
12
+ tldr --random-example && \
13
+ tldr --list && \
14
+ tldr --list-all
15
+ }
16
+
17
+ tldr --update && \
18
+ tldr-render-pages && \
19
+ tldr --clear-cache && \
20
+ tldr --update && \
21
+ tldr-render-pages
You can’t perform that action at this time.
0 commit comments