Skip to content

Commit

Permalink
del ini to sh, cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
c-bik committed Feb 15, 2020
1 parent 8469754 commit 061ab53
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 68 deletions.
59 changes: 0 additions & 59 deletions post_release.ps1

This file was deleted.

1 change: 1 addition & 0 deletions post_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ rel=${2:-prod}
log green "-------------------------------------------------------------------------"
log green "post_release $rel/$app @ $(pwd)"

rm -rf _build/$rel/rel/$app/erts-*/bin/erl.ini
dderlPriv=$(readlink -f _build/$rel/rel/$app/lib/dderl-*/priv/)
log lightgrey "building dderl @ $dderlPriv"

Expand Down
10 changes: 1 addition & 9 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -116,18 +116,10 @@
]}.

{profiles, [
{default, [
{post_hooks, [
{"win32", compile, "powershell.exe -File post_compile.ps1 < nul"},
{"linux", compile, "./post_compile.sh"}
]}
]},
{prod, [
{pre_hooks,
[{release, "escript.exe _build/prod/plugins/erlpkg/inject_git_rev.escript < nul"}]},
{post_hooks,
[{"win32", release, "powershell.exe -File post_release.ps1 < nul"},
{"linux|darwin", release, "./post_release.sh"}]},
{post_hooks, [{release, "sh ./post_release.sh"}]},
{erlpkg_opts,
[{company, "K2 Informatics GmbH"},
{upgradecode, "DDE410F1-EBD2-4799-97FF-76E317073B30"},
Expand Down

0 comments on commit 061ab53

Please sign in to comment.