File tree 5 files changed +12
-78
lines changed
5 files changed +12
-78
lines changed Original file line number Diff line number Diff line change 9
9
deploy :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v2.4.0
13
- - uses : cachix/install-nix-action@v16
12
+ - uses : actions/checkout@v3
13
+ - uses : cachix/install-nix-action@v22
14
14
with :
15
15
nix_path : nixpkgs=channel:nixos-unstable
16
- - run : nix-shell --run 'cabal update; make clean; pip list; make html SPHINXOPTS="-W"'
16
+ - run : nix build
17
17
- name : Deploy 🚀
18
18
19
19
with :
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ SPHINXOPTS ?=
7
7
SPHINXBUILD ?= sphinx-build
8
8
SOURCEDIR = .
9
9
BUILDDIR = _build
10
- SOURCE_DATE_EPOCH = $(shell git log -1 --format=% ct)
11
10
12
11
# Put it first so that "make" without argument is like "make help".
13
12
help :
Original file line number Diff line number Diff line change @@ -32,12 +32,13 @@ pkgs.stdenv.mkDerivation {
32
32
buildInputs = pythonInputs ++ nonPythonInputs ;
33
33
34
34
preBuild = ''
35
- export SOURCE_DATE_EPOCH="$(${ pkgs . coreutils } /bin/date '+%s')"
36
- pip list
35
+ unset SOURCE_DATE_EPOCH
37
36
'' ;
38
37
39
38
buildPhase = ''
40
39
runHook preBuild
40
+ SOURCE_DATE_EPOCH="$(${ pkgs . coreutils } /bin/date '+%s')"
41
+ make clean
41
42
make ${ target } SPHINXOPTS="-W"
42
43
touch "_build/.nojekyll"
43
44
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
19
19
able to follow along. After reading this chapter, a reader should be able to
20
20
spot inefficient data structure use by reading code, and GHC's profiling tools
21
21
to 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.
27
27
28
28
The rest of the chapter is structured as follows. We introduce the |klister |
29
29
interpreter and perform a performance minded code review. We then use the
You can’t perform that action at this time.
0 commit comments