forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hie-bios: Don't hard-code import-dirs (digital-asset#2562)
* hie-bios: Don't hard-code import-dirs * Formatting
- Loading branch information
1 parent
f209950
commit 76b9a47
Showing
3 changed files
with
57 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,2 @@ | ||
#!/bin/sh | ||
cat "$HIE_BIOS_ARGS" | sed "s/'//g" | sed "s/-qg//g" | sed "s/+RTS.*-RTS//" | sed "s|/bazel-out|bazel-out|g" | sed "s/-fexternal-interpreter//g" | ||
|
||
BAZEL_GENFILES="$(bazel info bazel-genfiles)" | ||
|
||
# For now we hardcode include paths as Bazel passes the list of files explicitly | ||
# and does not use include paths so we cannot get it from the GHCi invocation. | ||
echo \ | ||
-i"${BAZEL_GENFILES}" \ | ||
-i"${BAZEL_GENFILES}"/compiler/scenario-service/protos \ | ||
-i"${BAZEL_GENFILES}"/daml-lf/archive \ | ||
-icompiler/damlc/daml-compiler/src \ | ||
-icompiler/damlc/daml-doc/src \ | ||
-icompiler/damlc/daml-doctest/src \ | ||
-icompiler/damlc/daml-ide/src \ | ||
-icompiler/damlc/daml-ide-core/src \ | ||
-icompiler/damlc/daml-lf-conversion/src \ | ||
-icompiler/damlc/daml-opts/daml-opts \ | ||
-icompiler/damlc/daml-opts/daml-opts-types \ | ||
-icompiler/damlc/daml-preprocessor/src \ | ||
-icompiler/damlc/lib \ | ||
-icompiler/daml-lf-ast/src \ | ||
-icompiler/daml-lf-proto/src \ | ||
-icompiler/daml-lf-reader/src \ | ||
-icompiler/daml-lf-tools/src \ | ||
-icompiler/hie-core/src \ | ||
-icompiler/scenario-service/client/src \ | ||
-idaml-assistant/ \ | ||
-idaml-assistant/daml-project-config \ | ||
-ilibs-haskell/bazel-runfiles/src \ | ||
-ilibs-haskell/da-hs-base/src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters