diff --git a/carthage-software/mago/0.24/mago.toml b/carthage-software/mago/0.24/mago.toml new file mode 100644 index 000000000..7850e1854 --- /dev/null +++ b/carthage-software/mago/0.24/mago.toml @@ -0,0 +1,23 @@ +php_version = "8.2" + +[source] +paths = [ + "src/", + "config/", + "bin/", + # "tests/", + # "importmap.php", + # "migrations/", +] +includes = ["vendor"] +excludes = [] + +# See https://docs.rs/mago-formatter/latest/mago_formatter/settings/struct.FormatSettings.html +[format] +print_width = 120 +tab_width = 4 +use_tabs = false + +[linter] +default_plugins = true +plugins = ["symfony", "php-unit"] diff --git a/carthage-software/mago/0.24/manifest.json b/carthage-software/mago/0.24/manifest.json new file mode 100644 index 000000000..d8aaf48dc --- /dev/null +++ b/carthage-software/mago/0.24/manifest.json @@ -0,0 +1,5 @@ +{ + "copy-from-recipe": { + "mago.toml": "mago.toml" + } +} diff --git a/carthage-software/mago/0.24/post-install.txt b/carthage-software/mago/0.24/post-install.txt new file mode 100644 index 000000000..960d58d23 --- /dev/null +++ b/carthage-software/mago/0.24/post-install.txt @@ -0,0 +1,10 @@ + + What's next? + + + * Review your mago.toml file: + 1. Set your exact php_version + 2. Update your source.paths as needed; + 3. (Optional) Enable the linter as well. + + * Read the full the documentation at https://mago.carthage.software/#/getting-started/configuration