source: genapp/sbin/getbokeh.pl

Last change on this file was 1598, checked in by ehb, 4 years ago

Updated genapp to latest genappalpha

  • Property svn:executable set to *
File size: 855 bytes
Line 
1#!/usr/bin/perl
2
3$gb = $ENV{ "GENAPP" } || die "$0: error env variable GENAPP must be defined\n";
4
5$notes = "usage: $0 version
6gets bokeh js and css of said version
7and installs
8";
9
10$rev = shift || die $notes;
11
12$d = "$gb/languages/html5/add/js";
13chdir $d || die "can't change to directory $d $!\n";
14
15$cmd = "wget http://cdn.pydata.org/bokeh/release/bokeh-$rev.min.js
16wget http://cdn.pydata.org/bokeh/release/bokeh-widgets-$rev.min.js
17wget http://cdn.pydata.org/bokeh/release/bokeh-tables-$rev.min.js
18";
19
20print $cmd;
21print `$cmd`;
22
23$d = "$gb/languages/html5/add/css";
24chdir $d || die "can't change to directory $d $!\n";
25
26$cmd = "wget http://cdn.pydata.org/bokeh/release/bokeh-$rev.min.css
27wget http://cdn.pydata.org/bokeh/release/bokeh-widgets-$rev.min.css
28wget http://cdn.pydata.org/bokeh/release/bokeh-tables-$rev.min.css
29";
30
31print $cmd;
32print `$cmd`;
33
Note: See TracBrowser for help on using the repository browser.