aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/extraction/g_extraction.ml4
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2017-07-26 14:32:59 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2017-07-26 14:32:59 +0200
commita0214d53a9a7fa1dc47375c7f048a15bed5dc523 (patch)
treeea0d69995fb8f4fc5ee9865e24afd513e4222dae /plugins/extraction/g_extraction.ml4
parentc50f5c4655e29989fb4b15c7e391bfb38785b251 (diff)
parent21327e39ef6c6e04569bf8f138d242819139964d (diff)
Merge PR #859: Extraction TestCompile
Diffstat (limited to 'plugins/extraction/g_extraction.ml4')
-rw-r--r--plugins/extraction/g_extraction.ml44
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/extraction/g_extraction.ml4 b/plugins/extraction/g_extraction.ml4
index 4372ea557..dba1e3444 100644
--- a/plugins/extraction/g_extraction.ml4
+++ b/plugins/extraction/g_extraction.ml4
@@ -65,6 +65,10 @@ VERNAC COMMAND EXTEND Extraction CLASSIFIED AS QUERY
(* Monolithic extraction to a file *)
| [ "Extraction" string(f) ne_global_list(l) ]
-> [ full_extraction (Some f) l ]
+
+(* Extraction to a temporary file and OCaml compilation *)
+| [ "Extraction" "TestCompile" ne_global_list(l) ]
+ -> [ extract_and_compile l ]
END
VERNAC COMMAND EXTEND SeparateExtraction CLASSIFIED AS QUERY