File tree Expand file tree Collapse file tree 5 files changed +12
-80
lines changed Expand file tree Collapse file tree 5 files changed +12
-80
lines changed Original file line number Diff line number Diff line change 99 deploy :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v2.4.0
13- - uses : cachix/install-nix-action@v16
14- with :
15- nix_path : nixpkgs=channel:nixos-unstable
16- - run : nix-shell --run 'cabal update; make clean; make html SPHINXOPTS="-W"'
12+ - uses : actions/checkout@v3
13+ - uses : cachix/install-nix-action@v22
14+ - run : nix build
1715 - name : Deploy 🚀
1816 uses : JamesIves/github-pages-deploy-action@v4.2.2
1917 with :
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ SPHINXOPTS ?=
77SPHINXBUILD ?= sphinx-build
88SOURCEDIR = .
99BUILDDIR = _build
10- SOURCE_DATE_EPOCH = $(shell git log -1 --format=% ct)
1110
1211# Put it first so that "make" without argument is like "make help".
1312help :
Original file line number Diff line number Diff line change @@ -32,12 +32,13 @@ pkgs.stdenv.mkDerivation {
3232 buildInputs = pythonInputs ++ nonPythonInputs ;
3333
3434 preBuild = ''
35- export SOURCE_DATE_EPOCH="$(${ pkgs . coreutils } /bin/date '+%s')"
36- pip list
35+ unset SOURCE_DATE_EPOCH
3736 '' ;
3837
3938 buildPhase = ''
4039 runHook preBuild
40+ SOURCE_DATE_EPOCH="$(${ pkgs . coreutils } /bin/date '+%s')"
41+ make clean
4142 make ${ target } SPHINXOPTS="-W"
4243 touch "_build/.nojekyll"
4344 touch "_build/html/.nojekyll"
Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ structures and closing memory leaks; any intermediate level Haskeller should be
1919able to follow along. After reading this chapter, a reader should be able to
2020spot inefficient data structure use by reading code, and GHC's profiling tools
2121to diagnose memory performance issues and identify hot code. To read through the
22- code, this ` commit
23- <https://github.com/gelisam/klister/commit/33501b2233ce865407a8a3ca7c090457f3375442> `
24- is the result of the case study, and `here
25- <https://github.com/gelisam/klister/tree/5aea4d2b9df8f6e9db276078570c1e1bd1306cd3> `
26- is the state of the klister code base that the tutorial starts with.
22+ code, ` this commit
23+ <https://github.com/gelisam/klister/commit/33501b2233ce865407a8a3ca7c090457f3375442> `__
24+ is the result of the case study, and `this commit
25+ <https://github.com/gelisam/klister/tree/5aea4d2b9df8f6e9db276078570c1e1bd1306cd3> `__
26+ was the state of the klister code base that the tutorial starts with.
2727
2828The rest of the chapter is structured as follows. We introduce the |klister |
2929interpreter and perform a performance minded code review. We then use the
You can’t perform that action at this time.
0 commit comments