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 |
---|
6 | gets bokeh js and css of said version |
---|
7 | and installs |
---|
8 | "; |
---|
9 | |
---|
10 | $rev = shift || die $notes; |
---|
11 | |
---|
12 | $d = "$gb/languages/html5/add/js"; |
---|
13 | chdir $d || die "can't change to directory $d $!\n"; |
---|
14 | |
---|
15 | $cmd = "wget http://cdn.pydata.org/bokeh/release/bokeh-$rev.min.js |
---|
16 | wget http://cdn.pydata.org/bokeh/release/bokeh-widgets-$rev.min.js |
---|
17 | wget http://cdn.pydata.org/bokeh/release/bokeh-tables-$rev.min.js |
---|
18 | "; |
---|
19 | |
---|
20 | print $cmd; |
---|
21 | print `$cmd`; |
---|
22 | |
---|
23 | $d = "$gb/languages/html5/add/css"; |
---|
24 | chdir $d || die "can't change to directory $d $!\n"; |
---|
25 | |
---|
26 | $cmd = "wget http://cdn.pydata.org/bokeh/release/bokeh-$rev.min.css |
---|
27 | wget http://cdn.pydata.org/bokeh/release/bokeh-widgets-$rev.min.css |
---|
28 | wget http://cdn.pydata.org/bokeh/release/bokeh-tables-$rev.min.css |
---|
29 | "; |
---|
30 | |
---|
31 | print $cmd; |
---|
32 | print `$cmd`; |
---|
33 | |
---|
Note: See
TracBrowser
for help on using the repository browser.