Skip to content

Commit

Permalink
Merge pull request #81 from kape1395/support-dune-build
Browse files Browse the repository at this point in the history
Basic support for build with dune.
  • Loading branch information
damiendoligez authored Sep 5, 2023
2 parents 581ebd8 + 376b7e4 commit dc344b6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
*.log
.DS_Store

/_build/
/.vscode/

/Makefile
/config.log
/config.status
Expand Down
1 change: 1 addition & 0 deletions dune-project
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(lang dune 3.7)
2 changes: 1 addition & 1 deletion src/backend/fpfile.ml
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ let iter_file f ic =

let translate v ic =
match v with
| FP13 fps -> fptbl := fps; iter_file add_v13l ic;
| FP13 fps -> fptbl := fps; iter_file (fun x -> add_v13l x []) ic;
| _ -> assert false


Expand Down
13 changes: 13 additions & 0 deletions src/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
(executable
(name tlapm)
(libraries unix str)
(foreign_stubs (language c) (names sysconf_stubs)))

(ocamllex alexer)

(include_subdirs unqualified)

(env
(dev
(flags (:standard -w +a-4-7-9-27-29-30-32..42-44-45-48-50-52-60-66..70))))

0 comments on commit dc344b6

Please sign in to comment.