From e829c12d5147ad9b5f1f50032ac1d763e20932e1 Mon Sep 17 00:00:00 2001 From: Phil Hagelberg Date: Mon, 8 May 2017 11:35:32 -0700 Subject: [PATCH] Fix sample project.clj issues. Fixes #2271 and #2270. --- sample.project.clj | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sample.project.clj b/sample.project.clj index 0a4a161b0..66cb0c602 100644 --- a/sample.project.clj +++ b/sample.project.clj @@ -332,11 +332,11 @@ ;; compilation artifacts for namespaces that come from dependencies. :clean-non-project-classes true ;; Paths to include on the classpath from each project in the - ;; checkouts/ directory. (See the FAQ in the Readme for more details - ;; about checkout dependencies.) Set this to be a vector of - ;; functions that take the target project as argument. Defaults to - ;; [:source-paths :compile-path :resource-paths], but you could use - ;; the following to share code from the test suite: + ;; checkouts/ directory. (See the tutorial for more details about + ;; checkout dependencies.) Set this to be a vector of functions that + ;; take the target project as argument. Defaults to [:source-paths + ;; :compile-path :resource-paths], but you could use the following + ;; to share code from the test suite: :checkout-deps-shares [:source-paths :test-paths ~(fn [p] (str (:root p) "/lib/dev/*"))] @@ -406,7 +406,7 @@ :jar-exclusions [#"(?:^|/).svn/"] ;; Files with names matching any of these patterns will included in the jar ;; even if they'd be skipped otherwise. - :jar-inclusions ["^\.ebextensions"] + :jar-inclusions [#"^\.ebextensions"] ;; Same as :jar-exclusions, but for uberjars. :uberjar-exclusions [#"META-INF/DUMMY.SF"] ;; By default Leiningen will run a clean before creating jars to prevent