We use cookies and other tracking technologies to improve your browsing experience on our site, analyze site traffic, and understand where our audience is coming from. To find out more, please read our privacy policy.

By choosing 'I Accept', you consent to our use of cookies and other tracking technologies.

We use cookies and other tracking technologies to improve your browsing experience on our site, analyze site traffic, and understand where our audience is coming from. To find out more, please read our privacy policy.

By choosing 'I Accept', you consent to our use of cookies and other tracking technologies. Less

We use cookies and other tracking technologies... More

Login or register
to apply for this job!

Login or register to start contributing with an article!

Login or register
to see more jobs from this company!

Login or register
to boost this post!

Show some love to the author of this blog by giving their post some rocket fuel 🚀.

Login or register to search for your ideal job!

Login or register to start working on this issue!

Engineers who find a new job through WorksHub average a 15% increase in salary 🚀

How To Build CLJS Cache Files ?

Issue Open
Pull requests: 0
Contributors: 0
Level: Intermediate
  • Clojure
Issue Open
Pull requests: 0
Contributors: 0
Level: Intermediate
  • Clojure

On GitHub

Klipse is a Javacript plugin for embedding interactive code snippets in tech blogs. A simple client-side code evaluator pluggable on any web page: clojure, ruby, javascript, python, scheme, es2017, jsx, brainfuck, c++, reagent, lua, ocaml, reasonml, prolog, common lisp
More info >

Issue posted by: 
superstructor's avatar

Isaac Johnston

Description

Issue

How to build CLJS cache files ? For example if one wants to upgrade the version of re-frame used.

Files of Interest

So far have found:

This contains the dependencies to be cached used to build the class path with lein classpath:

These both appear to be different types of cache build scripts:

Issues of Interest

Questions

It would be extremely helpful if anyone has information on the following questions. This will help me understand enough to get the process working, fix it if required and document it.

In short, any pointers in the general direction of what needs to be generated and the intent of the scripts in question will help.

  1. What is the history or intent behind the two build scripts ? One is Lumo-based and the other JVM-based ? Does one supersede the other or are they both used together to generate different files ?

  2. How have these scripts been run in the past ? I suspect via a REPL ?

  3. There are viebel/ forks for many dependencies (e.g. re-frame, http-fx, reagent, gadjett, poppoa etc) but in some cases there are no visible customization ? E.g. for re-frame it is obvious in viebel/re-frame@eb34941 which I can work to upstream to day8/re-frame but http-fx contains no changes vs upstream ? Are there changes missing from GitHub ?

  4. scripts/generate-clojure-spec-cache.cljs is named 'spec-cache' but appears to generate more than just spec-related cache files ? Is it intended just for cljs.spec or is it simply misnamed ?

  5. There appears to be special-cases around cljs.spec, test, clojure.template ? Anything a Klipse user re-generating cache files needs to be aware of to make it work ?

Thanks!

    Use Open Source Issues to hire or get hired

    On GitHub

    Klipse is a Javacript plugin for embedding interactive code snippets in tech blogs. A simple client-side code evaluator pluggable on any web page: clojure, ruby, javascript, python, scheme, es2017, jsx, brainfuck, c++, reagent, lua, ocaml, reasonml, prolog, common lisp
    More info >

    Issue posted by: 
    superstructor's avatar

    Isaac Johnston

    Use Open Source Issues to hire or get hired

    How To Build CLJS Cache Files ?
    View on GitHub