mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-06 03:08:45 +00:00
clean
This commit is contained in:
parent
f29a90e3b6
commit
42ddd29705
10
justfile
10
justfile
|
@ -350,8 +350,9 @@ contrib-app-only: pre-push-hooks update-repo git-publish
|
|||
contrib-app-release: pre-push-hooks contrib-app-release-increment git-publish
|
||||
|
||||
# Increment the app version number
|
||||
contrib-app-release-increment:
|
||||
@cd lib/mix/tasks/release/ && mix escript.build && ./release ../../../../ $APP_VSN_EXTRA
|
||||
@contrib-app-release-increment:
|
||||
cd lib/mix/ && ln -sf ../../extensions/bonfire/lib/mix/tasks || ln -sf ../../deps/bonfire/lib/mix/tasks
|
||||
cd lib/mix/tasks/release/ && mix escript.build && ./release ../../../../ $APP_VSN_EXTRA
|
||||
|
||||
contrib-forks-publish: update-forks
|
||||
|
||||
|
@ -650,8 +651,9 @@ db-pre-migrations:
|
|||
-touch priv/repo/*
|
||||
|
||||
# Generate secrets
|
||||
secrets:
|
||||
@cd lib/mix/tasks/secrets/ && mix escript.build && ./secrets 128 3
|
||||
@secrets:
|
||||
cd lib/mix/ && ln -sf ../../extensions/bonfire/lib/mix/tasks || ln -sf ../../deps/bonfire/lib/mix/tasks
|
||||
cd lib/mix/tasks/secrets/ && mix escript.build && ./secrets 128 3
|
||||
|
||||
# Start or stop nix postgres server
|
||||
@nix-db pg_cmd:
|
||||
|
|
|
@ -13,7 +13,7 @@ if not Code.ensure_loaded?(Mess) do
|
|||
defp sources(true), do: [path: "deps.path", git: "deps.git", hex: "deps.hex"]
|
||||
defp sources(_), do: [git: "deps.git", hex: "deps.hex"]
|
||||
|
||||
defp opts(opts \\ []) do
|
||||
defp opts(opts) do
|
||||
opts =
|
||||
opts
|
||||
|> Keyword.put_new_lazy(:use_local_forks?, fn ->
|
||||
|
@ -110,7 +110,7 @@ if not Code.ensure_loaded?(Mess) do
|
|||
|
||||
defp read(path, kind) when is_binary(path), do: have_read(File.read(path), path, kind)
|
||||
|
||||
defp have_read({:error, :enoent}, path, _kind) do
|
||||
defp have_read({:error, :enoent}, _path, _kind) do
|
||||
# IO.puts("Could not find #{path} in #{File.cwd!()}")
|
||||
[]
|
||||
end
|
||||
|
|
|
@ -3,7 +3,7 @@ if not Code.ensure_loaded?(Bonfire.Mixer) do
|
|||
def deps(config, deps_subtype, extensions \\ [])
|
||||
|
||||
def deps(config, :bonfire, extensions) do
|
||||
extensions = umbrella_extension_names()
|
||||
# extensions = extensions || umbrella_extension_names()
|
||||
prefixes = multirepo_prefixes(config)
|
||||
|
||||
(config[:deps] || config)
|
||||
|
|
1
lib/mix/tasks
Symbolic link
1
lib/mix/tasks
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../extensions/bonfire/lib/mix/tasks
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,9 +0,0 @@
|
|||
{application,release,
|
||||
[{applications,[kernel,stdlib,elixir]},
|
||||
{description,"release"},
|
||||
{modules,['Elixir.Mix.Tasks.Bonfire.Release',
|
||||
'Elixir.Releaser.Git','Elixir.Releaser.Publish',
|
||||
'Elixir.Releaser.Tests',
|
||||
'Elixir.Releaser.VersionUtils']},
|
||||
{registered,[]},
|
||||
{vsn,"0.1.0-alpha.1"}]}.
|
Binary file not shown.
Loading…
Reference in a new issue