oh yeah sure thing
@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 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)
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.
@dorab Just want to check that this comment wasn't missed in the convo about downloading the JAR...
Works now 🙂
Yes. Thanks. Investigating.
I agree. That comment is incorrect. Will fix it in the next release, since it is a comment.
Thanks
🎉
good to hear everything's working
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
@holyjak thank you, it resolved my issue 😄
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).