mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-04-26 22:38:44 +00:00
clean
This commit is contained in:
parent
85cb336ab3
commit
44b6ad80c7
|
@ -18,6 +18,7 @@ config/prod
|
|||
Docker*
|
||||
docker*
|
||||
.parcel-cache
|
||||
assets/.parcel-cache
|
||||
# Makefile
|
||||
README*
|
||||
priv/static
|
||||
|
@ -35,4 +36,4 @@ forks/*/.npm
|
|||
forks/*/.mix
|
||||
forks/*/.hex
|
||||
forks/*/_build
|
||||
forks/*/deps
|
||||
forks/*/deps
|
||||
|
|
|
@ -106,7 +106,8 @@ COPY LICENSE ./
|
|||
COPY docs/*.md ./docs/
|
||||
RUN mkdir -p forks/
|
||||
RUN mkdir -p priv/static/
|
||||
RUN tar --exclude=*.env --exclude=.git --exclude=assets/node_modules --exclude=assets/static/data -czvf priv/static/source.tar.gz lib deps forks assets config docs priv/repo mix.exs mix.lock LICENSE
|
||||
COPY priv/extras/ priv/extras/
|
||||
RUN tar --exclude=*.env --exclude=.git --exclude=assets/node_modules --exclude=assets/static/data -czvf priv/static/source.tar.gz lib deps forks assets config docs priv/repo priv/extras mix.exs mix.lock LICENSE
|
||||
|
||||
# prepare static assets
|
||||
COPY data/current_flavour/config/deps_hooks.js data/current_flavour/config/deps_hooks.js
|
||||
|
|
|
@ -72,6 +72,6 @@ defmodule Bonfire.Web.Endpoint do
|
|||
def reload!(), do: Phoenix.CodeReloader.reload!(__MODULE__)
|
||||
|
||||
def generate_reverse_router!() do
|
||||
Code.eval_file("priv/router_reverse.ex")
|
||||
Code.eval_file(Path.join(:code.priv_dir(:bonfire), "extras/router_reverse.ex"))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue