Skip to content
Snippets Groups Projects
Commit 6d251d58 authored by Andreas Herten's avatar Andreas Herten
Browse files

Add zip versio of thigs

parent 253b2276
Branches
No related tags found
No related merge requests found
Pipeline #68671 passed
......@@ -6,9 +6,13 @@ pages:
script:
- mkdir public
- tar czf public/pandas-tutorial-tasks.tar.gz --transform 's,^,pandas-tutorial-tasks/,' Introduction-to-Pandas--tasks.ipynb Introduction-to-Pandas--solution.ipynb data-lost.json data-nest.csv
- cp public/pandas-tutorial-tasks.tar.gz . && \
tar xf pandas-tutorial-tasks.tar.gz && \
zip -9 -r public/pandas-tutorial-tasks.zip Introduction-to-Pandas--tasks.ipynb Introduction-to-Pandas--solution.ipynb data-lost.json data-nest.csv
- cp Introduction-to-Pandas--slides.ipynb public/
- cp Introduction-to-Pandas--slides.pdf public/
- cp static-slides-bundle.tar.gz public/pandas-tutorial-slides-bundle.tar.gz
- cp static-slides-bundle.zip public/pandas-tutorial-slides-bundle.zip
- export BASE_REPO_HASH=$(git rev-parse --short HEAD)
- git checkout -f pages
- git reset --hard origin/pages
......
......@@ -2,9 +2,14 @@
# Generates a tar with all files needed to view the HTML presetnation properly
# -Andreas Herten, 2021 May 26
.PHONY: all
all: static-slides-bundle.tar.gz
all: static-slides-bundle.tar.gz static-slides-bundle.zip
SOURCES=Introduction-to-Pandas--slides.html img/ fzj-reveal.js/img/ fzj-reveal.js/reveal.js fzj-reveal.js/custom.css fzj-reveal.js/fzj.js
static-slides-bundle.tar.gz: gen-static-slides-bundle.mk $(SOURCES)
tar czf $@ --transform 's,^,pandas-tutorial-slides/,' $(SOURCES)
static-slides-bundle.zip: gen-static-slides-bundle.mk $(SOURCES) static-slides-bundle.tar.gz
tar xf static-slides-bundle.tar.gz
zip -9 -r $@ pandas-tutorial-slides/
rm -rf pandas-tutorial-slides
\ No newline at end of file
No preview for this file type
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment