Skip to content

Commit

Permalink
Distribute dummy bisect-ppx-report for pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Nov 7, 2021
1 parent 4a48a87 commit 466521d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"dune-project",
"binaries.esy.json",
"src",
"bin"
"bin",
"bisect-ppx-report"
]
}
7 changes: 7 additions & 0 deletions src/report/dummy-binary
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# This dummy binary file is used to satisfy pnpm. See
# https://github.com/aantron/bisect_ppx/issues/381.

echo "Error: bisect-ppx-report was not installed"
exit 1
2 changes: 2 additions & 0 deletions test/ci/travis-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ try_to_commit() {
strip bin/$OS/ppx
strip bin/$OS/bisect-ppx-report
git add bin/
cp src/report/dummy-binary ./bisect-ppx-report
git add bisect-ppx-report
echo "Binaries for '$OS'" > commit-message
if [ `ls bin | wc -l` != 2 ]
then
Expand Down

0 comments on commit 466521d

Please sign in to comment.