Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gigalixir deploy for an app not at the root of the repository #1

wants to merge 26 commits into
base: master
Changes from all commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


Just for now

File renamed without changes.
@@ -0,0 +1 @@
@@ -0,0 +1,2 @@
pre_compile="source pre_compile"
post_compile="source ../post_compile"
@@ -0,0 +1,2 @@
This file is just a placeholder for the buildpacks to detect the existence of.
The real mix.exs is elsewhere.
@@ -0,0 +1,2 @@

@@ -0,0 +1,9 @@
export build_path=$original_build_path

# Add the real platform tools location now that $build_path is fixed.
# The problem is post_compile is run after write_export is called.
local export_line="
export PATH=\$PATH:$build_path/.platform_tools:$build_path/.platform_tools/erlang/bin:$build_path/.platform_tools/elixir/bin"

# append to the export
echo $export_line >> $build_pack_path/export
@@ -0,0 +1,2 @@
export original_build_path=$build_path
export build_path=$build_path/hello
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.