mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 17:28:46 +03:00
edff8a416d
* Move files in daml-foundations/daml-ghc to compiler/damlc There is also a bit of refactoring going on to actually split things apart into sensible targets. What is still missing is a cleanup of the module hierarchy and a cleanup of the test targets but I’ll leave those for separate PRs. As a nice bonus, this also reduces dependencies between targets so it will speed up compiles. * Update .hie-bios
31 lines
1.2 KiB
Bash
Executable File
31 lines
1.2 KiB
Bash
Executable File
#!/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-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
|