Commit 008793f1 authored by Joachim Schunk's avatar Joachim Schunk
Browse files

ensure loading calculation.prepare ns

parent 9474c40f
Pipeline #105461 passed with stages
in 2 minutes and 10 seconds
......@@ -7,7 +7,7 @@
[leukipp.components.exercise-types.calculation.check :as check]
[leukipp.components.exercise-types.calculation.migration :as migration]
[leukipp.components.exercise-types.calculation.spec :as spec]
[leukipp.components.exercise-types.prepare :as prepare])
[leukipp.components.exercise-types.calculation.prepare :as prepare])
[edn-migrator.core :as edn-migrator]
......@@ -18,7 +18,7 @@
[leukipp.components.exercise-types.calculation.spec :as spec]
[leukipp.components.exercise-types.calculation.views.edit :as edit-view]
[ :as show-view]
[leukipp.components.exercise-types.prepare :as prepare])))
[leukipp.components.exercise-types.calculation.prepare :as prepare])))
(def base-core {:type :calculation
:task-description []
......@@ -30,5 +30,14 @@
(defn prepare-frontend [exercise]
(prepare exercise))
(defn prepare-backend [exercise]
(prepare exercise))
(defmethod e-prepare/prepare-frontend :calculation [exercise-build & _]
(prepare exercise-build))
(prepare-frontend exercise-build))
(defmethod e-prepare/prepare-backend :calculation [exercise-build & _]
(prepare-backend exercise-build))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment