Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
Tutorial POPL18
Commits
a6c95521
Commit
a6c95521
authored
Aug 28, 2020
by
Ralf Jung
Browse files
forgot to add Makefile.coq.local
parent
5bc2d52c
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
a6c95521
...
@@ -28,7 +28,8 @@ _*_.tex
...
@@ -28,7 +28,8 @@ _*_.tex
*.vio
*.vio
*.vos
*.vos
*.vok
*.vok
Makefile.coq*
Makefile.coq
Makefile.coq.conf
.Makefile.coq.d
.Makefile.coq.d
*.crashcoqide
*.crashcoqide
.coqdeps.d
.coqdeps.d
...
...
.gitlab-ci.yml
View file @
a6c95521
...
@@ -5,6 +5,7 @@ stages:
...
@@ -5,6 +5,7 @@ stages:
variables
:
variables
:
CPU_CORES
:
"
10"
CPU_CORES
:
"
10"
MAKE_TARGET
:
"
ci"
.template
:
&template
.template
:
&template
stage
:
build
stage
:
build
...
...
Makefile.coq.local
0 → 100644
View file @
a6c95521
# Generate an exercise for each solution.
SOLUTIONS
:=
$(
wildcard
solutions/
*
.v
)
EXERCISES
:=
$(
addprefix
exercises/,
$(
notdir
$(SOLUTIONS)
))
exercises
:
$(EXERCISES)
.PHONY
:
exercises
$(EXERCISES)
:
exercises/%.v: solutions/%.v gen-exercises.awk
$(HIDE)
echo
"Generating exercise file
$@
from
$<
"
$(HIDE)
gawk
-f
gen-exercises.awk <
$<
>
$@
# CI make target
ci
:
all
+@make
-B
exercises
# force make
(
in case
exercise files have been edited directly
)
if
[
-n
"
$$
(git status --porcelain)"
]
;
then
echo
'ERROR: Exercise files are not up-to-date with solutions.'
;
exit
1
;
fi
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment