@@ -101,17 +101,12 @@ this tutorial.
101101Understand the WORKSPACE file
102102^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103103
104- File ``tutorial/WORKSPACE `` defines how to obtain ``rules_haskell ``
105- and a compiler toolchain. Because this tutorial lives in ``rules_haskell ``'s
106- repository, ``rules_haskell `` is made available as follows::
104+ File ``tutorial/WORKSPACE `` defines how to obtain ``rules_haskell ``.
105+ This file works within the ``rules_haskell ``
106+ repository: for your own project, run the start _ script
107+ to create a ``WORKSPACE `` file that makes ``rules_haskell `` available
108+ by `downloading it `_.
107109
108- local_repository(
109- name = "rules_haskell",
110- path = "..",
111- )
112-
113- We refer to the template created by the start _ script
114- to make ``rules_haskell `` available outside a local clone.
115110The ``WORKSPACE `` file also defines how to obtain the compiler toolchain,
116111as detailed in section `picking a compiler `_.
117112
@@ -398,6 +393,7 @@ Happy building!
398393.. _haskell_library : http://api.haskell.build/haskell/haskell.html#haskell_library
399394.. _graphviz : https://www.graphviz.org/
400395.. _start : https://rules-haskell.readthedocs.io/en/latest/haskell-use-cases.html#starting-a-new-project
396+ .. _downloading it : https://rules-haskell.readthedocs.io/en/latest/haskell-use-cases.html#making-rules-haskell-available
401397.. _picking a compiler : https://rules-haskell.readthedocs.io/en/latest/haskell-use-cases.html#picking-a-compiler
402398.. _external dependencies : https://docs.bazel.build/versions/master/external.html
403399.. _build encyclopedia : https://docs.bazel.build/versions/master/be/overview.html
0 commit comments