Fork me on GitHub

I've created a new release for cryogen version 0.6.3. Thanks to @holyjak. @yogthos would you please push to clojars. Thanks.


oh yeah sure thing

🙏 3

@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 just checked and the jar is missing from clojars.


The pom is there.


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 -- that's the relevant version for this stuff per (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...


Yes. Thanks. Investigating.


I agree. That comment is incorrect. Will fix it in the next release, since it is a comment.


Hmm. That is strange. I just looked at my ~/.m2 and did not see any jar file.


Will try downloading again.


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?


Possibly. I'll try again.


Works now 🙂


good to hear everything's working


Very pleased to see CLI/`deps.edn` support.

Andrei Stan10:12:25

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

Andrei Stan11:12:04

seems that i needed to add "asc/" into config.edn file:

:post-root  "asc/posts"

Andrei Stan11:12:49

but this does not resolve it; it just copies asc files into public/pages/

Jakub Holý (HolyJak)12:12:27

It depends on your dependencies. Remove the cryogen-flexmark dependency and add the cryogen-asciidoc one. The dependency hardcodes where it looks for content.

Jakub Holý (HolyJak)12:12:52 uses asciidoc (and I have :post-root "posts" , which will look for content/<installed markdown code, ie. asc or md>/posts

👍 3
Andrei Stan12:12:17

@holyjak thank you, it resolved my issue 😄

👍 3

There are new releases for cryogen-core, cryogen, and cryogen-docs (and thus 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).

bananadance 9