关于伞形项目, 什么是伞形项目, 定义在这里

创建一个伞形项目

1root@0b85dcd174f2:~/ejabberd/elixir# mix new umbrella_project --umbrella

* creating .gitignore

* creating README.md

* creating mix.exs

* creating apps

* creating config

* creating config/config.exs

Your umbrella project was created successfully.

Inside your project, you will find an apps/ directory

where you can create and host many apps:

cd umbrella_project

cd apps

mix new my_app

Commands like `mix compile` and `mix test` when executed

in the umbrella project root will automatically run

for each application in the apps/ directory.

在伞形项目中运行的Mix任务,会对文件夹中的每一个子项目起作用.