File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,28 @@ See the [contributing page](http://jsonnet.org/contributing.html) on our website
81
81
82
82
### Running tests
83
83
84
- TODO
84
+ To run the comprehensive suite:
85
+
86
+ ```
87
+ make test
88
+ ```
85
89
86
90
87
91
### Locally serving the website
88
92
89
- TODO
93
+ First, you need to build the JavaScript version of Jsonnet (which requires
94
+ [ _ emscripten_ ] ( https://emscripten.org/ ) ):
95
+
96
+ ```
97
+ make doc/js/libjsonnet.js
98
+ ```
99
+
100
+ Then, from the root of the repository you can generate and serve the website using
101
+ [ Jekyll] ( https://jekyllrb.com/ ) :
102
+
103
+ ```
104
+ tools/scripts/serve_docs.sh
105
+ ```
106
+
107
+ This should the website on localhost:8080, automatically rebuild when you change any underlying
108
+ files, and automatically refresh your browser when that happens.
Original file line number Diff line number Diff line change 31
31
fi
32
32
33
33
cd doc
34
- jekyll server --port 8200 --watch
34
+ jekyll server --port 8200 --watch --livereload
You can’t perform that action at this time.
0 commit comments