spring_reference/VII. Spring Boot CLI/55.3. Applications with mul...

11 lines
373 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

### 55.3. 多源文件应用
你可以在所有接收文件输入的命令中使用shell通配符。这允许你轻松处理来自一个目录下的多个文件例如
```shell
$ spring run *.groovy
```
如果你想将'test'或'spec'代码从主应用代码中分离,这项技术就十分有用了:
```shell
$ spring test app/*.groovy test/*.groovy
```