Travis: Now also caching the build directories
This commit is contained in:
parent
ecb1a30f3a
commit
78e4d54a9a
2 changed files with 12 additions and 10 deletions
|
@ -10,7 +10,9 @@ cache:
|
|||
- $HOME/.stack
|
||||
- $HOME/.agda
|
||||
- $HOME/.local
|
||||
- $HOME/agda
|
||||
- $HOME/agda-stdlib-master
|
||||
- $HOME/agda2html
|
||||
|
||||
# Ensure necessary system libraries are present
|
||||
addons:
|
||||
|
|
20
Makefile
20
Makefile
|
@ -36,27 +36,27 @@ endif
|
|||
rmdir out/
|
||||
|
||||
setup:\
|
||||
$(HOME)/.local/bin/agda\
|
||||
$(HOME)/.local/bin/agda2html\
|
||||
$(HOME)/agda-stdlib-master/
|
||||
$(HOME)/agda/\
|
||||
$(HOME)/agda-stdlib-master/\
|
||||
$(HOME)/agda2html/
|
||||
|
||||
.phony: setup
|
||||
|
||||
$(HOME)/.local/bin/agda:
|
||||
$(HOME)/agda/:
|
||||
curl -L https://github.com/agda/agda/archive/master.zip -o $(HOME)/agda-master.zip
|
||||
unzip -qq $(HOME)/agda-master.zip
|
||||
cd $(HOME)/agda-master;\
|
||||
stack install --stack-yaml=stack-8.2.2.yaml
|
||||
|
||||
$(HOME)/.local/bin/agda2html:
|
||||
curl -L https://github.com/wenkokke/agda2html/archive/master.zip -o $(HOME)/agda2html-master.zip
|
||||
unzip -qq $(HOME)/agda2html-master.zip
|
||||
cd $(HOME)/agda2html-master;\
|
||||
stack install
|
||||
|
||||
$(HOME)/agda-stdlib-master/:
|
||||
curl -L https://github.com/agda/agda-stdlib/archive/master.zip -o $(HOME)/agda-stdlib-master.zip
|
||||
unzip -qq $(HOME)/agda-stdlib-master.zip -d $(HOME)
|
||||
mkdir $(HOME)/.agda
|
||||
echo "standard-library" > $(HOME)/.agda/defaults
|
||||
echo "$(HOME)/agda-stdlib-master/standard-library.agda-lib" > $(HOME)/.agda/libraries
|
||||
|
||||
$(HOME)/agda2html/:
|
||||
curl -L https://github.com/wenkokke/agda2html/archive/master.zip -o $(HOME)/agda2html-master.zip
|
||||
unzip -qq $(HOME)/agda2html-master.zip
|
||||
cd $(HOME)/agda2html-master;\
|
||||
stack install
|
||||
|
|
Loading…
Reference in a new issue