在示例项目中,
https://github.com/technomancy/leiningen/blob/master/sample.project.clj
on line 217,有一个包含非代码文件的指令:
:resource-paths ["src/main/resource"] ; non-code files included in classpath/jar
我的项目中有一个resources文件夹,我的 project.clj 中有这一行
:resource-paths ["resources"] ; non-code files included in classpath/jar
但是,当我运行lein jar生成.jar文件时,它不会打包resources文件夹。
有什么我想念的吗?