mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 19:31:38 +02:00
🎉 Add version string parsing.
This commit is contained in:
parent
ac2310f71f
commit
28a2df96ff
6 changed files with 72 additions and 29 deletions
|
@ -9,6 +9,8 @@
|
|||
|
||||
(ns app.main
|
||||
(:require
|
||||
[app.config :as cfg]
|
||||
[clojure.tools.logging :as log]
|
||||
[mount.core :as mount]))
|
||||
|
||||
(defn- enable-asserts
|
||||
|
@ -26,15 +28,13 @@
|
|||
|
||||
(defn run
|
||||
[_params]
|
||||
(require 'app.config
|
||||
'app.srepl.server
|
||||
(require 'app.srepl.server
|
||||
'app.migrations
|
||||
'app.worker
|
||||
'app.media
|
||||
'app.http)
|
||||
(mount/start))
|
||||
|
||||
|
||||
(mount/start)
|
||||
(log/infof "Welcome to penpot! Version: '%s'." (:full @cfg/version)))
|
||||
|
||||
(defn -main
|
||||
[& _args]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue