Skip to content

Commit

Permalink
test: nested melange.emit stanzas
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Nuno Monteiro <[email protected]>
  • Loading branch information
anmonteiro authored and rgrinberg committed Mar 6, 2023
1 parent 436965f commit 7aff99f
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Make sure an error is returned if trying to nest `melange.emit` stanzas

$ cat > dune-project <<EOF
> (lang dune 3.7)
> (using melange 0.1)
> EOF
$ mkdir -p a/b/c
$ cat > a/dune <<EOF
> (melange.emit
> (target output)
> (alias mel)
> (module_system commonjs))
> EOF
$ cat > a/b/c/dune <<EOF
> (melange.emit
> (target output)
> (alias mel)
> (module_system commonjs))
> EOF

$ dune build @mel

0 comments on commit 7aff99f

Please sign in to comment.