From ff3b22cf65ad876e22956bdc3d5860ba5c37ba9b Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Tue, 7 Oct 2025 01:05:30 +0300 Subject: [PATCH] Migrate dev:console to standalone script --- mise.toml | 4 ---- scripts/dev/console | 7 +++++++ 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100755 scripts/dev/console diff --git a/mise.toml b/mise.toml index d8096d4a..1b6c8143 100644 --- a/mise.toml +++ b/mise.toml @@ -60,10 +60,6 @@ hide = true description = 'Run project tests' run = 'mix test' -[tasks."dev:console"] -description = 'Run the application attached to an IEx console' -run = 'iex -S mix phx.server' - [tasks."dev:readme-preview"] description = 'Preview the README file via a GH flavoured markdown rendered' run = 'gh gfm-preview README.md' diff --git a/scripts/dev/console b/scripts/dev/console new file mode 100755 index 00000000..bd71fba9 --- /dev/null +++ b/scripts/dev/console @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +#MISE description="Run the application attached to an IEx console" + +set -e + +iex -S mix phx.server