Skip to content

Commit bc2db17

Browse files
Merge pull request #72 from hyperpolymath/fix/ci-corrective
fix(build): track bin/dune (gitignore negation was a no-op)
2 parents b760eac + 66f3509 commit bc2db17

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,12 @@ __pycache__/
5151
# Ada/SPARK
5252
*.ali
5353
/obj/
54-
/bin/
54+
# `/bin/` excludes the directory itself, which makes git unable to re-include
55+
# files inside it (negations can't re-include children of an excluded dir).
56+
# `/bin/*` excludes the *contents* so `!bin/*.ml` and `!bin/dune` actually
57+
# re-include their targets. The previous `/bin/` form silently dropped
58+
# bin/dune from origin and broke CI's executable build.
59+
/bin/*
5560
!bin/*.ml
5661
!bin/dune
5762

bin/dune

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
; SPDX-License-Identifier: MIT OR AGPL-3.0-or-later
2+
3+
(executable
4+
(name main)
5+
(public_name affinescript)
6+
(package affinescript)
7+
(libraries affinescript cmdliner fmt fmt.tty))

0 commit comments

Comments
 (0)