git-crash-course/run.sh

13 righe
348 B
Bash
File eseguibile

#!/bin/bash
git submodule init
git submodule update 2> /dev/null
mkdir -p reveal.js/js/ reveal.js/css/ reveal.js/images/
cp js/* reveal.js/js/
cp css/* reveal.js/css/
cp images/* reveal.js/images/
rm -f reveal.js/index.html reveal.js/git-crash-course.md
ln index.html git-crash-course.md reveal.js/ 2> /dev/null
cd reveal.js
npm install
npm start