https://github.com/ctlab/phantasus
Raw File
Tip revision: bc3f225ce88fe6137237e5f248b11f1daaf3dd1e authored by Alexey Sergushichev on 07 August 2018, 12:34:59 UTC
update static
Tip revision: bc3f225
update_static.sh
#!/bin/bash

R -e "rmarkdown::render('./vignettes/phantasus-tutorial.Rmd')"
cp ./vignettes/phantasus-tutorial.html inst/www/phantasus.js/

cd inst-raw/phantasus.js

grunt dist

git log -1 > ../../inst/www/phantasus.js/commit

cp ./index.html ../../inst/www/phantasus.js/
cp ./js/phantasus.js ../../inst/www/phantasus.js/js/
cp ./js/phantasus-external-*.min.js ../../inst/www/phantasus.js/js/
cp -r ./jasmine ../../inst/www/phantasus.js/
cp ./my.conf.js ./package.json ../../inst/www/phantasus.js/
cp -r ./css/images ../../inst/www/phantasus.js/css/
cp -r ./css/phantasus-latest.min.css ../../inst/www/phantasus.js/css/
back to top