mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-12-26 17:33:44 +08:00
Mark dev only tasks (#146)
This commit is contained in:
parent
b90853de2b
commit
051156588d
2 changed files with 3 additions and 18 deletions
|
@ -7,7 +7,7 @@ config :livebook, LivebookWeb.Endpoint, http: [ip: {127, 0, 0, 1}, port: 8080]
|
||||||
|
|
||||||
# The output is shown to the end user,
|
# The output is shown to the end user,
|
||||||
# so limit the amount of information we show.
|
# so limit the amount of information we show.
|
||||||
config :logger, level: :notice
|
config :logger, level: :info
|
||||||
|
|
||||||
# ## SSL Support
|
# ## SSL Support
|
||||||
#
|
#
|
||||||
|
|
19
mix.exs
19
mix.exs
|
@ -16,9 +16,6 @@ defmodule Livebook.MixProject do
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
# Configuration for the OTP application.
|
|
||||||
#
|
|
||||||
# Type `mix help compile.app` for more information.
|
|
||||||
def application do
|
def application do
|
||||||
[
|
[
|
||||||
mod: {Livebook.Application, []},
|
mod: {Livebook.Application, []},
|
||||||
|
@ -26,13 +23,9 @@ defmodule Livebook.MixProject do
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
# Specifies which paths to compile per environment.
|
|
||||||
defp elixirc_paths(:test), do: ["lib", "test/support"]
|
defp elixirc_paths(:test), do: ["lib", "test/support"]
|
||||||
defp elixirc_paths(_), do: ["lib"]
|
defp elixirc_paths(_), do: ["lib"]
|
||||||
|
|
||||||
# Specifies your project dependencies.
|
|
||||||
#
|
|
||||||
# Type `mix help deps` for examples and options.
|
|
||||||
defp deps do
|
defp deps do
|
||||||
[
|
[
|
||||||
{:phoenix, "~> 1.5.7"},
|
{:phoenix, "~> 1.5.7"},
|
||||||
|
@ -50,18 +43,10 @@ defmodule Livebook.MixProject do
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
# Aliases are shortcuts or tasks specific to the current project.
|
|
||||||
# For example, to install project dependencies and perform other setup tasks, run:
|
|
||||||
#
|
|
||||||
# $ mix setup
|
|
||||||
#
|
|
||||||
# See the documentation for `Mix` for more info on aliases.
|
|
||||||
defp aliases do
|
defp aliases do
|
||||||
[
|
[
|
||||||
setup: ["deps.get", "cmd npm install --prefix assets"],
|
"dev.setup": ["deps.get", "cmd npm install --prefix assets"],
|
||||||
# Update the assets bundle to be committed into the repository
|
"dev.build": ["cmd npm run deploy --prefix ./assets"],
|
||||||
# and also builds the Escript.
|
|
||||||
build: ["cmd npm run deploy --prefix ./assets", "escript.build"],
|
|
||||||
"format.all": ["format", "cmd npm run format --prefix ./assets"]
|
"format.all": ["format", "cmd npm run format --prefix ./assets"]
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue