Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added resources dir and resources-readme.md for app and default #51

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/leiningen/new/app.clj
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
["README.md" (render "README.md" data)]
["doc/intro.md" (render "intro.md" data)]
[".gitignore" (render "gitignore" data)]
["resources/resources-readme.md" (render "resources-readme.md" data)]
["src/{{nested-dirs}}/core.clj" (render "core.clj" data)]
["test/{{nested-dirs}}/core_test.clj" (render "test.clj" data)])))
4 changes: 4 additions & 0 deletions src/leiningen/new/app/resources-readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Put into this directory any miscellaneous resource files that your
program may need. This resources directory is on the classpath.
`clojure.java.io/resource` can locate files in here. When you create a
jar or uberjar, files herein will be included in that jar.
1 change: 1 addition & 0 deletions src/leiningen/new/default.clj
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ Accepts a group id in the project name: `lein new foo.bar/baz`"
["README.md" (render "README.md" data)]
["doc/intro.md" (render "intro.md" data)]
[".gitignore" (render "gitignore" data)]
["resources/resources-readme.md" (render "resources-readme.md" data)]
["src/{{nested-dirs}}/core.clj" (render "core.clj" data)]
["test/{{nested-dirs}}/core_test.clj" (render "test.clj" data)])))
4 changes: 4 additions & 0 deletions src/leiningen/new/default/resources-readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Put into this directory any miscellaneous resource files that your
program may need. This resources directory is on the classpath.
`clojure.java.io/resource` can locate files in here. When you create a
jar or uberjar, files herein will be included in that jar.