aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-081/tyler-wardhaugh/clojure/README.md16
-rw-r--r--challenge-081/tyler-wardhaugh/clojure/deps.edn7
-rw-r--r--challenge-081/tyler-wardhaugh/clojure/pom.xml14
3 files changed, 16 insertions, 21 deletions
diff --git a/challenge-081/tyler-wardhaugh/clojure/README.md b/challenge-081/tyler-wardhaugh/clojure/README.md
index 27344ef9cb..3a0c44fe10 100644
--- a/challenge-081/tyler-wardhaugh/clojure/README.md
+++ b/challenge-081/tyler-wardhaugh/clojure/README.md
@@ -1,29 +1,25 @@
-# tw.weekly.c80
+# tw.weekly.c81
-The Weekly Challenge - #080 - Tyler Wardhaugh
+The Weekly Challenge - #081 - Tyler Wardhaugh
## Usage
Run the project directly (shows default output from both tasks):
- $ clojure -m tw.weekly.c80.core
+ $ clojure -M -m tw.weekly.c81.core
Run the project's tests (which are samples from the task descriptions):
- $ clojure -A:test:runner
+ $ clojure -M:test:runner
Run Task #1 with input
- $ clojure -m tw.weekly.c80.t1 A1 A2 A3 [...]
-
-Benchmark both methods defined in Task #1:
-
- $ clojure -m tw.weekly.c80.t1-bench
+ $ clojure -M -m tw.weekly.c81.t1 A B
Run Task #2 with input:
- $ clojure -m tw.weekly.c80.t2 A1 A2 A3 [...]
+ $ clojure -M -m tw.weekly.c81.t2 INPUT-FILE
## Project Template
diff --git a/challenge-081/tyler-wardhaugh/clojure/deps.edn b/challenge-081/tyler-wardhaugh/clojure/deps.edn
index c572dcdfc7..d74986e08e 100644
--- a/challenge-081/tyler-wardhaugh/clojure/deps.edn
+++ b/challenge-081/tyler-wardhaugh/clojure/deps.edn
@@ -1,6 +1,5 @@
{:paths ["src" "resources"]
- :deps {org.clojure/clojure {:mvn/version "1.10.1"}
- criterium/criterium {:mvn/version "0.4.6"}}
+ :deps {org.clojure/clojure {:mvn/version "1.10.1"}}
:aliases
{:test {:extra-paths ["test"]
:extra-deps {org.clojure/test.check {:mvn/version "1.0.0"}}}
@@ -11,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.c80.jar"
- "-C" "-m" "tw.weekly.c80"]}}}
+ :main-opts ["-m" "hf.depstar.uberjar" "tw.weekly.c81.jar"
+ "-C" "-m" "tw.weekly.c81"]}}}
diff --git a/challenge-081/tyler-wardhaugh/clojure/pom.xml b/challenge-081/tyler-wardhaugh/clojure/pom.xml
index 525b004ca8..20a672bad9 100644
--- a/challenge-081/tyler-wardhaugh/clojure/pom.xml
+++ b/challenge-081/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.c80</artifactId>
+ <artifactId>tw.weekly.c81</artifactId>
<version>0.1.0-SNAPSHOT</version>
- <name>tw.weekly.c80</name>
- <description>Challenge #080</description>
- <url>https://github.com/tw.weekly/tw.weekly.c80</url>
+ <name>tw.weekly.c81</name>
+ <description>Challenge #081</description>
+ <url>https://github.com/tw.weekly/tw.weekly.c81</url>
<licenses>
<license>
<name>Eclipse Public License</name>
@@ -19,9 +19,9 @@
</developer>
</developers>
<scm>
- <url>https://github.com/tw.weekly/tw.weekly.c80</url>
- <connection>scm:git:git://github.com/tw.weekly/tw.weekly.c80.git</connection>
- <developerConnection>scm:git:ssh://git@github.com/tw.weekly/tw.weekly.c80.git</developerConnection>
+ <url>https://github.com/tw.weekly/tw.weekly.c81</url>
+ <connection>scm:git:git://github.com/tw.weekly/tw.weekly.c81.git</connection>
+ <developerConnection>scm:git:ssh://git@github.com/tw.weekly/tw.weekly.c81.git</developerConnection>
<tag>HEAD</tag>
</scm>
<dependencies>