2019-06-16 16:42:48 +03:00
|
|
|
#!/bin/sh
|
2019-07-01 18:30:13 +03:00
|
|
|
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"
|
|
|
|
|
2019-07-05 17:04:47 +03:00
|
|
|
BAZEL_GENFILES="$(bazel info bazel-genfiles)"
|
2019-07-01 18:30:13 +03:00
|
|
|
|
|
|
|
# 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 \
|
2019-07-05 17:04:47 +03:00
|
|
|
-i"${BAZEL_GENFILES}" \
|
|
|
|
-i"${BAZEL_GENFILES}"/compiler/scenario-service/protos \
|
|
|
|
-i"${BAZEL_GENFILES}"/daml-lf/archive \
|
2019-07-08 18:55:51 +03:00
|
|
|
-icompiler/damlc/daml-compiler/src \
|
|
|
|
-icompiler/damlc/daml-doc/src \
|
2019-07-16 16:51:01 +03:00
|
|
|
-icompiler/damlc/daml-doctest/src \
|
2019-07-08 18:55:51 +03:00
|
|
|
-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 \
|
2019-07-08 12:40:48 +03:00
|
|
|
-icompiler/damlc/lib \
|
2019-07-01 18:30:13 +03:00
|
|
|
-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
|