-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* project cleanup - Removed un-needed files. (changelog.md, doc/intro.md) - Additional entries to gitignore and sorted contents. - New make target to run container in detached mode. - Bumped dependencies and project versions, organized project.clj into sections. - Organized readme so build/run sections for both lein/jar and docker were together. Added example output from routes. - Moved gen-class before require in ns's. - Updated github actions workflow to test on jdk lts versions and use less, more generalized steps.
- Loading branch information
Showing
10 changed files
with
155 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
/target | ||
/classes | ||
/.calva | ||
/checkouts | ||
profiles.clj | ||
pom.xml | ||
pom.xml.asc | ||
*.jar | ||
*.class | ||
/.lein-* | ||
/.nrepl-port | ||
.calva/ | ||
.hgignore | ||
/classes | ||
.clj-kondo/ | ||
.hg/ | ||
.hgignore | ||
*.jar | ||
/.lein-* | ||
.lsp/ | ||
/.nrepl-port | ||
pom.xml.asc | ||
profiles.clj | ||
/target | ||
.vscode/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,27 @@ | ||
(defproject http-service-lein "0.1.0" | ||
(defproject http-service-lein "1.0.0" | ||
|
||
;;; Project Metadata | ||
:description "Http service template with Leiningen." | ||
:url "https://github.com/wdhowe/http-service-lein" | ||
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0" | ||
:url "https://www.eclipse.org/legal/epl-2.0/"} | ||
:dependencies [[org.clojure/clojure "1.10.3"] | ||
[org.clojure/tools.logging "1.1.0"] | ||
[compojure "1.6.2"] | ||
|
||
;;; Dependencies, Plugins | ||
:dependencies [[org.clojure/clojure "1.11.1"] | ||
[org.clojure/tools.logging "1.2.4"] | ||
[compojure "1.7.0"] | ||
[environ "1.2.0"] | ||
[http-kit "2.5.3"] | ||
[ring/ring-defaults "0.3.2"] | ||
[http-kit "2.7.0"] | ||
[ring/ring-defaults "0.4.0"] | ||
[ring/ring-json "0.5.1"] | ||
[trptcolin/versioneer "0.2.0"]] | ||
:plugins [[lein-ring "0.12.5"]] | ||
:ring {:handler http-service-lein.core/app} | ||
:main ^:skip-aot http-service-lein.core | ||
:target-path "target/%s" | ||
|
||
;;; Profiles | ||
:profiles {:dev {:dependencies [[javax.servlet/servlet-api "2.5"] | ||
[ring/ring-mock "0.4.0"]]} | ||
:uberjar {:aot :all}}) | ||
:uberjar {:aot :all}} | ||
|
||
;;; Running Project Code | ||
:ring {:handler http-service-lein.core/app} | ||
:main ^:skip-aot http-service-lein.core) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters