This commit is contained in:
jem 2021-02-19 15:43:34 +01:00
parent ce50cb81de
commit b8d7da211f
5 changed files with 28 additions and 12 deletions

6
.gitignore vendored
View file

@ -1,3 +1,9 @@
.pybuilder/
__pycache__/
target/
.shadow-cljs
.nrepl-*
.calva

View file

@ -1,12 +1,13 @@
(defproject dda/dda-config-commons "2.0.0-SNAPSHOT"
(defproject dda/k8s-mastodon-bot "0.1.0-SNAPSHOT"
:description "common utils for dda config"
:url "https://www.domaindrivenarchitecture.org"
:license {:name "Apache License, Version 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.10.0"]
[aero "1.1.6"]]
:source-paths ["main/src"]
:resource-paths ["main/resources"]
[aero "1.1.6"]
[clj-commons/clj-yaml "0.7.106"]]
:source-paths ["src/main"]
:resource-paths ["resources/main"]
:repositories [["snapshots" :clojars]
["releases" :clojars]]
:deploy-repositories [["snapshots" :clojars]
@ -21,7 +22,7 @@
[ch.qos.logback/logback-classic "1.3.0-alpha4"]
[org.slf4j/jcl-over-slf4j "1.8.0-beta4"]
[dda/data-test "0.1.1"]]}
:test {:test-paths ["test/src"]
:resource-paths ["test/resources"]
:test {:test-paths ["src/test"]
:resource-paths ["resources/test"]
:dependencies [[dda/data-test "0.1.1"]]}}
:local-repo-classpath true)

View file

@ -1,7 +1,8 @@
{:source-paths ["main/src/"
"main/test"]
:dependencies [[aero "1.1.6"]]
{:source-paths ["src/main/"
"src/test"]
:dependencies [[aero "1.1.6"]
[cljsjs/js-yaml "4.0.0-0"]]
:builds {:app {:target :node-script
:output-to "target/config-commons.js"
:main dda.config.commons.core/helloworld
:output-to "target/k8s-mastodon-bot.js"
:main dda.k8s-mastodon-bot.script/hallowelt
:compiler-options {:optimizations :simple}}}}

View file

@ -0,0 +1,4 @@
(ns dda.k8s-mastodon-bot.core)
(defn mytest[]
(println "fhasd"))

View file

@ -0,0 +1,4 @@
(ns dda.k8s-mastodon-bot.script)
(defn hallowelt []
42)