Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Bundle cljs.core.specs.alpha #355

Closed
wants to merge 1 commit into from
Closed

Bundle cljs.core.specs.alpha #355

wants to merge 1 commit into from

Conversation

arichiardi
Copy link
Collaborator

@arichiardi arichiardi commented Feb 9, 2018

Of course this fix cannot go in until the new version of ClojureScript is released containing clojure/clojurescript@9de75f3.

Cause cljs.core.specs.alpha is not required anywhere in core, it does not end up in the fileset (boot-cljs does not compile what is not depended upon).

This means we need to sift it manually.

@arichiardi
Copy link
Collaborator Author

It is indeed optional and will need manual inclusion via sift.

@arichiardi arichiardi changed the title [Fix #354] Bundle cljs.core.specs.alpha WIP - [Fix #354] Bundle cljs.core.specs.alpha Feb 15, 2018
@arichiardi
Copy link
Collaborator Author

This PR is probably just good for making sure we include the files, therefore I am removing the WIP.

@arichiardi arichiardi changed the title WIP - [Fix #354] Bundle cljs.core.specs.alpha Bundle cljs.core.specs.alpha Feb 25, 2018
Cause cljs.core.specs.alpha is not required anywhere in core, it does not end
up in the fileset (boot-cljs does not compile what is not depended upon).  This
means we need to sift it manually.
@anmonteiro
Copy link
Owner

What leads you to believe that these files are not already included? Did you look at the sift-cljs-resources task?

@arichiardi
Copy link
Collaborator Author

I checked that, see explanation in the PR 😄

@anmonteiro
Copy link
Owner

We literally have (sift add-jar {'org.clojure/clojurescript #""} which includes all the resources in the CLJS JAR.

@arichiardi
Copy link
Collaborator Author

Ok I will check again.

@arichiardi
Copy link
Collaborator Author

I checked again and...you are right, I see it now in there. I had messed something up. Closing this.

@arichiardi arichiardi closed this Feb 28, 2018
@arichiardi
Copy link
Collaborator Author

One problem though, I did:

$ ls resources_bak/cljs/*
--- no dir there ---

@anmonteiro should it be in resource_bak?

@anmonteiro
Copy link
Owner

resources_bak gets moved and disappears during the build

@arichiardi arichiardi deleted the bundle-core-specs branch March 28, 2018 17:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants