initial
This commit is contained in:
parent
ce50cb81de
commit
b8d7da211f
5 changed files with 28 additions and 12 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
@ -1,3 +1,9 @@
|
||||||
.pybuilder/
|
.pybuilder/
|
||||||
__pycache__/
|
__pycache__/
|
||||||
target/
|
|
||||||
|
target/
|
||||||
|
|
||||||
|
.shadow-cljs
|
||||||
|
.nrepl-*
|
||||||
|
|
||||||
|
.calva
|
||||||
|
|
13
project.clj
13
project.clj
|
@ -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"
|
:description "common utils for dda config"
|
||||||
:url "https://www.domaindrivenarchitecture.org"
|
:url "https://www.domaindrivenarchitecture.org"
|
||||||
:license {:name "Apache License, Version 2.0"
|
:license {:name "Apache License, Version 2.0"
|
||||||
:url "https://www.apache.org/licenses/LICENSE-2.0.html"}
|
:url "https://www.apache.org/licenses/LICENSE-2.0.html"}
|
||||||
:dependencies [[org.clojure/clojure "1.10.0"]
|
:dependencies [[org.clojure/clojure "1.10.0"]
|
||||||
[aero "1.1.6"]]
|
[aero "1.1.6"]
|
||||||
:source-paths ["main/src"]
|
[clj-commons/clj-yaml "0.7.106"]]
|
||||||
:resource-paths ["main/resources"]
|
:source-paths ["src/main"]
|
||||||
|
:resource-paths ["resources/main"]
|
||||||
:repositories [["snapshots" :clojars]
|
:repositories [["snapshots" :clojars]
|
||||||
["releases" :clojars]]
|
["releases" :clojars]]
|
||||||
:deploy-repositories [["snapshots" :clojars]
|
:deploy-repositories [["snapshots" :clojars]
|
||||||
|
@ -21,7 +22,7 @@
|
||||||
[ch.qos.logback/logback-classic "1.3.0-alpha4"]
|
[ch.qos.logback/logback-classic "1.3.0-alpha4"]
|
||||||
[org.slf4j/jcl-over-slf4j "1.8.0-beta4"]
|
[org.slf4j/jcl-over-slf4j "1.8.0-beta4"]
|
||||||
[dda/data-test "0.1.1"]]}
|
[dda/data-test "0.1.1"]]}
|
||||||
:test {:test-paths ["test/src"]
|
:test {:test-paths ["src/test"]
|
||||||
:resource-paths ["test/resources"]
|
:resource-paths ["resources/test"]
|
||||||
:dependencies [[dda/data-test "0.1.1"]]}}
|
:dependencies [[dda/data-test "0.1.1"]]}}
|
||||||
:local-repo-classpath true)
|
:local-repo-classpath true)
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{:source-paths ["main/src/"
|
{:source-paths ["src/main/"
|
||||||
"main/test"]
|
"src/test"]
|
||||||
:dependencies [[aero "1.1.6"]]
|
:dependencies [[aero "1.1.6"]
|
||||||
|
[cljsjs/js-yaml "4.0.0-0"]]
|
||||||
:builds {:app {:target :node-script
|
:builds {:app {:target :node-script
|
||||||
:output-to "target/config-commons.js"
|
:output-to "target/k8s-mastodon-bot.js"
|
||||||
:main dda.config.commons.core/helloworld
|
:main dda.k8s-mastodon-bot.script/hallowelt
|
||||||
:compiler-options {:optimizations :simple}}}}
|
:compiler-options {:optimizations :simple}}}}
|
||||||
|
|
4
src/main/dda/k8s_mastodon_bot/core.cljc
Normal file
4
src/main/dda/k8s_mastodon_bot/core.cljc
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
(ns dda.k8s-mastodon-bot.core)
|
||||||
|
|
||||||
|
(defn mytest[]
|
||||||
|
(println "fhasd"))
|
4
src/main/dda/k8s_mastodon_bot/script.cljs
Normal file
4
src/main/dda/k8s_mastodon_bot/script.cljs
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
(ns dda.k8s-mastodon-bot.script)
|
||||||
|
|
||||||
|
(defn hallowelt []
|
||||||
|
42)
|
Loading…
Reference in a new issue