File tree Expand file tree Collapse file tree 9 files changed +10
-15
lines changed Expand file tree Collapse file tree 9 files changed +10
-15
lines changed File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 50
50
CABAL_VERSION : 3.6.2.0
51
51
CABAL_INSTALL : cabal v1-install --ghc-options='-O1 +RTS -M6G -RTS'
52
52
# CABAL_INSTALL: cabal install --overwrite-policy=always --ghc-options='-O1 +RTS -M6G -RTS'
53
- AGDA : agda -Werror +RTS -M3.5G -H3.5G -A128M -RTS -i. -i src/
53
+ AGDA : agda -Werror +RTS -M3.5G -H3.5G -A128M -RTS -i. -isrc -idoc
54
54
55
55
jobs :
56
56
test-stdlib :
@@ -152,7 +152,7 @@ jobs:
152
152
- name : Test stdlib
153
153
run : |
154
154
cabal run GenerateEverything
155
- cp travis /* .
155
+ cp .github/tooling /* .
156
156
./index.sh
157
157
${{ env.AGDA }} --safe EverythingSafe.agda
158
158
${{ env.AGDA }} index.agda
@@ -178,7 +178,7 @@ jobs:
178
178
rm -f '${{ env.AGDA_HTML_DIR }}'/*.css
179
179
${{ env.AGDA }} --html --html-dir ${{ env.AGDA_HTML_DIR }} index.agda
180
180
181
- cp travis /* .
181
+ cp .github/tooling /* .
182
182
./landing.sh
183
183
184
184
- name : Deploy HTML
Original file line number Diff line number Diff line change @@ -9,11 +9,14 @@ AGDA=$(AGDA_EXEC) $(AGDA_OPTIONS) $(AGDA_RTS_OPTIONS)
9
9
# cabal install fix-whitespace
10
10
11
11
test : Everything.agda check-whitespace
12
- $(AGDA ) -i. -isrc README.agda
12
+ cd doc && $(AGDA ) README.agda
13
13
14
14
testsuite :
15
15
$(MAKE ) -C tests test AGDA=" $( AGDA) " AGDA_EXEC=" $( AGDA_EXEC) " only=$(only )
16
16
17
+ fix-whitespace :
18
+ cabal exec -- fix-whitespace
19
+
17
20
check-whitespace :
18
21
cabal exec -- fix-whitespace --check
19
22
@@ -25,7 +28,7 @@ Everything.agda:
25
28
26
29
.PHONY : listings
27
30
listings : Everything.agda
28
- $(AGDA ) -i. -isrc --html README.agda -v0
31
+ cd doc && $(AGDA ) --html README.agda -v0
29
32
30
33
clean :
31
34
find . -type f -name ' *.agdai' -delete
Original file line number Diff line number Diff line change @@ -61,20 +61,12 @@ procedure should be followed:
61
61
* Announce the release of the new version on the Agda mailing lists
62
62
(users and developers).
63
63
64
- * Add v$VERSION to the list of protected directories in the .travis.yml
65
- file of BOTH master and experimental. They should look something like:
66
-
67
- > git checkout HEAD -- v0.16/ v0.17/ v1.0/ v1.1/ (...)
68
-
69
- Commit & push these changes. This will prevent the next step from being
70
- overwritten by travis.
71
-
72
64
* Generate and upload documentation for the released version:
73
65
74
- cp travis /* .
66
+ cp .github/tooling /* .
75
67
runhaskell GenerateEverything.hs
76
68
./index.sh
77
- agda -i. -isrc --html index.agda
69
+ agda -i. -idoc - isrc --html index.agda
78
70
mv html v$VERSION
79
71
git checkout gh-pages
80
72
git add v$VERSION/*.html v$VERSION/*.css
You can’t perform that action at this time.
0 commit comments