This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-12-08
Channels
- # adventofcode (55)
- # announcements (21)
- # babashka (20)
- # beginners (89)
- # calva (21)
- # cider (16)
- # circleci (11)
- # clara (8)
- # clj-kondo (6)
- # clojure (31)
- # clojure-australia (3)
- # clojure-europe (17)
- # clojure-nl (5)
- # clojure-uk (10)
- # clojurescript (25)
- # community-development (4)
- # conjure (12)
- # cryogen (28)
- # cursive (21)
- # datomic (7)
- # deps-new (1)
- # depstar (45)
- # emacs (5)
- # fulcro (46)
- # instaparse (5)
- # jobs (5)
- # jobs-discuss (23)
- # kaocha (12)
- # lambdaisland (2)
- # leiningen (1)
- # meander (10)
- # mid-cities-meetup (1)
- # reagent (5)
- # reitit (5)
- # remote-jobs (45)
- # reveal (9)
- # sql (6)
- # tools-deps (103)
- # uncomplicate (1)
- # xtdb (1)
I've created a new release for cryogen
version 0.6.3
. Thanks to @holyjak. @yogthos would you please push to clojars. Thanks.
@yogthos Thanks for the publishing to clojars. Does the clojars deployment need a jar or pom added to it? I ask because I just tried lein new cryogen myblog
and got
Dorabs-iMac:tmp dorab$ lein new cryogen myblog
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
Retrieving cryogen/lein-template/0.6.3/lein-template-0.6.3.pom from clojars
Could not find artifact cryogen:lein-template:jar:RELEASE
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.
Could not find template cryogen on the classpath.
Dorabs-iMac:tmp dorab$
Or, was it something I did wrong in assembling the release?I was able to do clojure -X:new :template cryogen :name cryogen.test
and get a working new project.
One thing I noticed in the generated deps.edn
file: (requires tools-deps 0.9.745+)
-- I'm not sure what you're referring to there? The exec stuff came in with Clojure CLI 1.10.1.697 -- that's the relevant version for this stuff per https://clojure.org/releases/tools (and 0.9.810 is the t.d.a version in that CLI)
@dorab Just want to check that this comment wasn't missed in the convo about downloading the JAR...
I agree. That comment is incorrect. Will fix it in the next release, since it is a comment.
When folks run clojure -Sdescribe
they'll see the 1.10.1.* version which is the important part.
(! 962)-> ls -lR ~/.m2/repository/cryogen/lein-template/0.6.3/
total 424
-rw-r--r-- 1 sean staff 206 Dec 7 17:50 _remote.repositories
-rw-r--r-- 1 sean staff 197754 Dec 7 17:50 lein-template-0.6.3.jar
-rw-r--r-- 1 sean staff 40 Dec 7 17:50 lein-template-0.6.3.jar.sha1
-rw-r--r-- 1 sean staff 3564 Dec 7 17:50 lein-template-0.6.3.pom
-rw-r--r-- 1 sean staff 40 Dec 7 17:50 lein-template-0.6.3.pom.sha1
Maybe you genuinely had a network glitch @dorab?
Very pleased to see CLI/`deps.edn` support.
Hi, where do i 'tell' cryogen to generate pages from content/asc/pages and not content/md/pages ? i tried deleting the content/md folder but no pages will be generated in my public
seems that i needed to add "asc/" into config.edn file:
:post-root "asc/posts"
but this does not resolve it; it just copies asc files into public/pages/
It depends on your dependencies. Remove the cryogen-flexmark dependency and add the cryogen-asciidoc one. The dependency hardcodes where it looks for content.
https://github.com/holyjak/blog.jakubholy.net uses asciidoc
(and I have :post-root "posts"
, which will look for content/<installed markdown code, ie. asc or md>/posts
There are new releases for cryogen-core
, cryogen
, and cryogen-docs
(and thus http://cryogenweb.org). Adding support for Clojure CLI / deps.edn support (in addition to lein), and also a fast compilation mode, for use during development, that compiles just the changed pages (but not dependent pages).