Skip to content

Commit

Permalink
fixup! Add addhock support
Browse files Browse the repository at this point in the history
  • Loading branch information
Théophane Hufschmitt committed Sep 19, 2018
1 parent 1cb0143 commit 2217e97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion haskell/haddock.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def _haskell_doc_rule_impl(ctx):
command = """
mkdir -p "{doc_dir}"
# Copy Haddocks of a dependency.
cp -r -L "{html_dir}" "{target_dir}"
cp -R -L "{html_dir}" "{target_dir}"
""".format(
doc_dir = doc_root_path,
html_dir = html_dir.path,
Expand Down
2 changes: 1 addition & 1 deletion haskell/import.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def copy_all(ctx, srcs, dest):
inputs = depset(srcs),
outputs = [dest],
mnemonic = "Copy",
command = "mkdir -p {dest} && cp -L -r \"$@\" {dest}".format(dest = dest.path),
command = "mkdir -p {dest} && cp -L -R \"$@\" {dest}".format(dest = dest.path),
arguments = [args],
)

Expand Down

0 comments on commit 2217e97

Please sign in to comment.