Skip to content

Commit 0808567

Browse files
author
José Valim
committed
Highlight Elixir code in post
1 parent 8af1c61 commit 0808567

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

_posts/2016-01-03-elixir-v1-2-0-released.markdown

+4-2
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,10 @@ One of such efforts resulted in "Umbrella Projects", which allows developers to
9797

9898
Up to this release, umbrella applications shared mostly dependencies, which meant each application still had their own build directory and their own compilation cycle. Elixir v1.2 allows developers to also share both build and configuration files. This change allows teams to drastically reduce compilation times in umbrella projects by adding the following configuration to each umbrella app's `mix.exs` file:
9999

100-
build_path: "../../_build",
101-
config_path: "../../config/config.exs",
100+
```elixir
101+
build_path: "../../_build",
102+
config_path: "../../config/config.exs",
103+
```
102104

103105
Umbrella applications generated with Elixir v1.2 will by default include this configuration. The downside of this approach is that applications are a bit less isolated, since configuration is now shared across all projects, although developers can revert back to the previous behaviour by simply removing the flags above.
104106

0 commit comments

Comments
 (0)