-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add CLI * add comment to build_binary.sh
- Loading branch information
Showing
10 changed files
with
143 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
inputs = [ | ||
"{lib,test,config}/**/*.{ex,exs}", | ||
".formatter.exs", | ||
"*.exs" | ||
] | ||
|
||
[ | ||
inputs: [ | ||
"{lib,test,config}/**/*.{ex,exs}", | ||
".formatter.exs", | ||
"*.exs" | ||
], | ||
inputs: inputs ++ Enum.map(inputs, &"boombox_burrito/#{&1}"), | ||
import_deps: [:membrane_core] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/boombox | ||
compile_commands.json | ||
.gdb_history | ||
bundlex.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
MIX_ENV=prod BOOMBOX_BURRITO=true mix release --overwrite && \ | ||
mv burrito_out/boombox_current boombox && \ | ||
rm -r burrito_out && \ | ||
# Burrito extracts the compressed artifacts into a common | ||
# location in the system on a first run, and then reuses | ||
# those artifacts and checks the version in mix.exs to | ||
# know whether it car reuse them. So we need to uninstall | ||
# the artifacts to force burrito to extract them again | ||
# even if the version in mix.exs didn't change | ||
yes | ./boombox maintenance uninstall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import Config | ||
|
||
if config_env() == :prod do | ||
config :logger, level: :warning | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
defmodule Boombox.Utils.BurritoApp do | ||
@moduledoc false | ||
|
||
use Application | ||
|
||
@dialyzer {:no_return, {:start, 2}} | ||
@impl true | ||
def start(_type, _args) do | ||
Boombox.run_cli(Burrito.Util.Args.argv()) | ||
System.halt() | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters