aboutsummaryrefslogtreecommitdiff
path: root/bin/main.ml
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2023-12-26 09:50:20 -0600
committerMarc Coquand <marc@mccd.space>2023-12-26 09:57:20 -0600
commit9cd7fbf7658793a443ad3a3b03cee4bbace0a0d4 (patch)
tree7313831ba6ca4f1a141a9f3750bf9f72d0c36365 /bin/main.ml
parent742c23d7c5d90b681dcbce92846d57042d2ea467 (diff)
downloadfixgen-9cd7fbf7658793a443ad3a3b03cee4bbace0a0d4.tar.gz
fixgen-9cd7fbf7658793a443ad3a3b03cee4bbace0a0d4.tar.bz2
fixgen-9cd7fbf7658793a443ad3a3b03cee4bbace0a0d4.zip
Support setting amount to be generated
Diffstat (limited to 'bin/main.ml')
-rw-r--r--bin/main.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/main.ml b/bin/main.ml
index c964c5e..29f354f 100644
--- a/bin/main.ml
+++ b/bin/main.ml
@@ -14,7 +14,7 @@ let fixgen content output_type () =
else (
match result with
| Some ast ->
- Ast_types.compile ast ~amount:4
+ Ast_types.compile ast
|> List.iter (fun (name, file) ->
let result = Fixture.csv_of_generated_fixtures file in
print_endline ("FILE NAME: " ^ name);