소스 검색

Restore default templates in bootstrapped rebar3

When allowing Dialyzer to work internally, we moved a bunch of
config (such as no_debug_info) to the prod profile, but the escript
included files remained locked onto the default profile.

Because the bootstrapping phase now happened in a prod run, the priv/
dirs were never created for the default profile unless a prior run
existed, which hid the bug from us.

This patch overrides the path on the prod profile so that we don't rely
on accidental leftovers for things to work on a bootstrap phase as a
dev.
pull/1783/head
Fred Hebert 7 년 전
부모
커밋
4673a992de
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. +4
    -0
      rebar.config

+ 4
- 0
rebar.config 파일 보기

@ -54,6 +54,10 @@
{bootstrap, []},
{prod, [
{escript_incl_extra, [
{"relx/priv/templates/*", "_build/prod/lib/"},
{"rebar/priv/templates/*", "_build/prod/lib/"}
]},
{erl_opts, [no_debug_info]},
{overrides, [
{override, erlware_commons, [

불러오는 중...
취소
저장