This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-16
Channels
- # announcements (5)
- # aws (34)
- # beginners (145)
- # cider (48)
- # circleci (8)
- # clara (7)
- # clj-kondo (28)
- # cljs-dev (75)
- # cljsrn (4)
- # clojure (325)
- # clojure-czech (10)
- # clojure-europe (5)
- # clojure-italy (4)
- # clojure-nl (4)
- # clojure-spec (6)
- # clojure-sweden (3)
- # clojure-uk (70)
- # clojurescript (18)
- # clr (1)
- # community-development (2)
- # cursive (38)
- # data-science (7)
- # datascript (14)
- # datomic (22)
- # emacs (2)
- # figwheel (1)
- # fulcro (6)
- # graalvm (22)
- # graphql (11)
- # hoplon (12)
- # jackdaw (8)
- # jobs-discuss (16)
- # juxt (5)
- # leiningen (19)
- # luminus (5)
- # nrepl (2)
- # nyc (1)
- # off-topic (6)
- # overtone (2)
- # pedestal (10)
- # re-frame (6)
- # reagent (8)
- # reitit (1)
- # rewrite-clj (43)
- # ring (2)
- # shadow-cljs (124)
- # testing (1)
- # vim (22)
- # xtdb (77)
- # yada (4)
@micha for your upcoming app, is it going to be a mobile web app ? if yes, what do you plan to use to make it look app-like
Yes mobile and desktop, I wasn’t planning to do anything special really. I think it’s ok if it looks like a web app as long as it’s functional
@jouerose if you see anything that looks solid for building mobile apps I’d be interested to see
@jouerose last time i made one, a few years back, i hacked together a boot task that shelled out to cordova.
from the build.boot:
(deftask cordova
[p platform OPT str "target operating system"
r run bool "run after building"]
(comp (target :dir ["bld/www"])
(with-pre-wrap fileset
(binding [*sh-dir* "bld"]
(dosh "cordova" "requirements")
(dosh "cordova" (if run "run" "build") platform))
fileset)))
(deftask develop
[o optimizations OPT kw "Optimizations to pass the cljs compiler."
p platform OPT str "Platform to use during development"]
(let [opt (or optimizations :none)
run (if (and platform (not= platform "browser")) #(cordova :platform platform :run true) serve)]
(comp (watch) (speak) (hoplon) (reload) (cljs :optimizations opt) (run))))
(deftask build
[p platform OPT str "target operating system"]
(comp (speak) (hoplon) (cljs :optimizations :whitespace) (cordova :platform platform)))