generates graphs on a webpage from RRD files (using yeri)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

4 lines
229 B

#!/bin/sh
# copy dygraph.min.js into site, and add one line that fixes an ES6 import bug.
cat node_modules/dygraphs/dist/dygraph.min.js | awk -e '/^\/\/\#/ { print "Dygraph.default = Dygraph;" } { print }' > site/dygraph.min.js