The AI Works community logo The Blockchain Works community logo The Functional Works community logo The Golang Works community logo The Java Works community logo The JavaScript Works community logo The Python Works community logo The Remote Works community logo The WorksHub company logo

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 publish this job!

Login or register
to save this job!

Login or register
to save interesting jobs!

Login or register
to get access to all your job applications!

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!

Login or register
to save articles!

Login to see the application

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

You will be redirected back to this page right after signin

How To Build CLJS Cache Files ?

Work started
Pull requests: 0
Contributors: 1
Level: Intermediate
  • Clojure
Work started
Pull requests: 0
Contributors: 1
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 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 to hire or get hired

    How To Build CLJS Cache Files ?
    View on GitHub