diff options
| author | Tyler Wardhaugh <tyler.wardhaugh@gmail.com> | 2020-09-21 08:33:53 -0700 |
|---|---|---|
| committer | Tyler Wardhaugh <tyler.wardhaugh@gmail.com> | 2020-09-22 20:54:25 -0700 |
| commit | 169f373f77d14b506191ab2c2e65b1ee6d8404fc (patch) | |
| tree | dbd28cec14a6cb5564008cf32d8ced98a4471ac3 | |
| parent | 8d56067468806d501778539d94136e1ed88d33d8 (diff) | |
| download | perlweeklychallenge-club-169f373f77d14b506191ab2c2e65b1ee6d8404fc.tar.gz perlweeklychallenge-club-169f373f77d14b506191ab2c2e65b1ee6d8404fc.tar.bz2 perlweeklychallenge-club-169f373f77d14b506191ab2c2e65b1ee6d8404fc.zip | |
prep for Challenge 079
7 files changed, 59 insertions, 13 deletions
diff --git a/challenge-079/tyler-wardhaugh/clojure/README.md b/challenge-079/tyler-wardhaugh/clojure/README.md index bf7c680763..b576ec7183 100644 --- a/challenge-079/tyler-wardhaugh/clojure/README.md +++ b/challenge-079/tyler-wardhaugh/clojure/README.md @@ -1,13 +1,13 @@ -# tw.weekly.c78 +# tw.weekly.c79 -The Weekly Challenge - #078 - Tyler Wardhaugh +The Weekly Challenge - #079 - Tyler Wardhaugh ## Usage Run the project directly (shows default output from both tasks): - $ clojure -m tw.weekly.c78.core + $ clojure -m tw.weekly.c79.core Run the project's tests (which are samples from the task descriptions): @@ -15,11 +15,11 @@ Run the project's tests (which are samples from the task descriptions): Run Task #1 with input - $ clojure -m tw.weekly.c78.t1 9 10 7 5 6 1 + $ clojure -m tw.weekly.c79.t1 N Run Task #2 with input: - $ clojure -m tw.weekly.c78.t2 "(10 20 30 40 50)" "(3 4)" + $ clojure -m tw.weekly.c79.t2 A1 A2 A3 [...] ## Project Template diff --git a/challenge-079/tyler-wardhaugh/clojure/deps.edn b/challenge-079/tyler-wardhaugh/clojure/deps.edn index ea2660b255..236f47e5b1 100644 --- a/challenge-079/tyler-wardhaugh/clojure/deps.edn +++ b/challenge-079/tyler-wardhaugh/clojure/deps.edn @@ -10,5 +10,5 @@ :main-opts ["-m" "cognitect.test-runner" "-d" "test"]} :uberjar {:extra-deps {seancorfield/depstar {:mvn/version "1.0.94"}} - :main-opts ["-m" "hf.depstar.uberjar" "tw.weekly.c78.jar" - "-C" "-m" "tw.weekly.c78"]}}} + :main-opts ["-m" "hf.depstar.uberjar" "tw.weekly.c79.jar" + "-C" "-m" "tw.weekly.c79"]}}} diff --git a/challenge-079/tyler-wardhaugh/clojure/pom.xml b/challenge-079/tyler-wardhaugh/clojure/pom.xml index 05a218d4c8..9644c7aec7 100644 --- a/challenge-079/tyler-wardhaugh/clojure/pom.xml +++ b/challenge-079/tyler-wardhaugh/clojure/pom.xml @@ -2,11 +2,11 @@ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>tw.weekly</groupId> - <artifactId>tw.weekly.c78</artifactId> + <artifactId>tw.weekly.c79</artifactId> <version>0.1.0-SNAPSHOT</version> - <name>tw.weekly.c78</name> + <name>tw.weekly.c79</name> <description>FIXME: my new application.</description> - <url>https://github.com/tw.weekly/tw.weekly.c78</url> + <url>https://github.com/tw.weekly/tw.weekly.c79</url> <licenses> <license> <name>Eclipse Public License</name> @@ -19,9 +19,9 @@ </developer> </developers> <scm> - <url>https://github.com/tw.weekly/tw.weekly.c78</url> - <connection>scm:git:git://github.com/tw.weekly/tw.weekly.c78.git</connection> - <developerConnection>scm:git:ssh://git@github.com/tw.weekly/tw.weekly.c78.git</developerConnection> + <url>https://github.com/tw.weekly/tw.weekly.c79</url> + <connection>scm:git:git://github.com/tw.weekly/tw.weekly.c79.git</connection> + <developerConnection>scm:git:ssh://git@github.com/tw.weekly/tw.weekly.c79.git</developerConnection> <tag>HEAD</tag> </scm> <dependencies> diff --git a/challenge-079/tyler-wardhaugh/clojure/src/tw/weekly/c79/core.clj b/challenge-079/tyler-wardhaugh/clojure/src/tw/weekly/c79/core.clj new file mode 100644 index 0000000000..0327a880fc --- /dev/null +++ b/challenge-079/tyler-wardhaugh/clojure/src/tw/weekly/c79/core.clj @@ -0,0 +1,12 @@ +(ns tw.weekly.c79.core + (:require [tw.weekly.c79.t1 :as t1]) + (:require [tw.weekly.c79.t2 :as t2]) + (:gen-class)) + +(defn -main + "Run all tasks" + [& _] + (println "Task #1") + (t1/-main) + (println "\n\nTask #2") + (t2/-main)) diff --git a/challenge-079/tyler-wardhaugh/clojure/src/tw/weekly/c79/t1.clj b/challenge-079/tyler-wardhaugh/clojure/src/tw/weekly/c79/t1.clj new file mode 100644 index 0000000000..5ff02af729 --- /dev/null +++ b/challenge-079/tyler-wardhaugh/clojure/src/tw/weekly/c79/t1.clj @@ -0,0 +1,12 @@ +(ns tw.weekly.c79.t1 + (:require [clojure.pprint :refer [cl-format]]) + (:require [clojure.edn :as edn])) + +;;; Task description for TASK #1 › +;;; + + + +(defn -main + [& args] + ) diff --git a/challenge-079/tyler-wardhaugh/clojure/src/tw/weekly/c79/t2.clj b/challenge-079/tyler-wardhaugh/clojure/src/tw/weekly/c79/t2.clj new file mode 100644 index 0000000000..dc08a1106c --- /dev/null +++ b/challenge-079/tyler-wardhaugh/clojure/src/tw/weekly/c79/t2.clj @@ -0,0 +1,10 @@ +(ns tw.weekly.c79.t2 + (:require [clojure.pprint :refer [cl-format]]) + (:require [clojure.edn :as edn])) + +;;; Task description for TASK #2 › +;;; + +(defn -main + [& args] + ) diff --git a/challenge-079/tyler-wardhaugh/clojure/test/tw/weekly/c79_test.clj b/challenge-079/tyler-wardhaugh/clojure/test/tw/weekly/c79_test.clj new file mode 100644 index 0000000000..6a3687df9f --- /dev/null +++ b/challenge-079/tyler-wardhaugh/clojure/test/tw/weekly/c79_test.clj @@ -0,0 +1,12 @@ +(ns tw.weekly.c79-test + (:require [clojure.test :refer [deftest is testing]] + [tw.weekly.c79.t1 :refer []] + [tw.weekly.c79.t2 :refer []])) + +(deftest task-1 + (testing "" + )) + +(deftest task-2 + (testing "" + )) |
