Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ jobs:
run: |
set -e
set -x
EXCLUDED_EXAMPLES='w-mirage*|r-tyxml|w-dream-html'
EXCLUDED_EXAMPLES='w-mirage*|w-dream-html'
EXAMPLES=$(find example -maxdepth 1 -type d | grep -Ev $EXCLUDED_EXAMPLES | grep -v "^example/0" | grep -v "^example$" | sort)
shopt -s nullglob
for EXAMPLE in $EXAMPLES
do
# Reason examples remain in the tree, but should not add a test
# dependency on the Reason compiler.
FILE=$(find $EXAMPLE -maxdepth 1 -type f -and -path "${EXAMPLE}/*.ml")
FILE+=$(find $EXAMPLE -maxdepth 1 -type f -and -path "${EXAMPLE}/*.re")
FILE+=$(find $EXAMPLE -maxdepth 2 -type f -and -path "${EXAMPLE}/server/*.ml")
FILE+=$(find $EXAMPLE -maxdepth 2 -type f -and -path "${EXAMPLE}/server/*.re")

if [[ "$FILE" == "" ]]; then
continue
Expand Down
1 change: 0 additions & 1 deletion dream.opam
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ depends: [
"js_of_ocaml-ppx" {with-test}
"ppx_expect" {with-test & >= "v0.15.0" & < "v0.17.0"} # Breaking changes.
"ppx_yojson_conv" {with-test}
"reason" {with-test}
"tyxml" {with-test & >= "4.5.0"}
"tyxml-jsx" {with-test}
]
Expand Down
13 changes: 13 additions & 0 deletions example/dune
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
; Reason examples are standalone esy projects. Keep them out of the
; repository-wide Dune build so Dream's test dependencies do not include reason.
(dirs
:standard
\ r-fullstack-melange
r-graphql
r-hello
r-html_of_jsx
r-template
r-template-files
r-template-logic
r-template-stream
r-tyxml)
Loading