-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: don't use burrito in dev (#161)
- Loading branch information
Showing
2 changed files
with
4 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
# used for local development | ||
|
||
|
||
set -e | ||
|
||
cd "$(dirname "$0")"/.. || exit 1 | ||
|
||
function main() { | ||
local machine | ||
local arch | ||
local target | ||
machine="$(uname)" | ||
arch="$(uname -m)" | ||
target="${machine,,}_${arch,,}" | ||
|
||
local | ||
|
||
BURRITO_TARGET="$target" MIX_ENV=dev mix release --overwrite | ||
|
||
exec "./burrito_out/next_ls_$target" "$@" | ||
} | ||
|
||
main "$@" | ||
elixir -S mix run --no-halt -e "Application.ensure_all_started(:next_ls)" -- "$@" |
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