Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix repl #6

Merged
merged 5 commits into from
Feb 17, 2015
Merged

Fix repl #6

merged 5 commits into from
Feb 17, 2015

Conversation

martinklepsch
Copy link
Contributor

I think this relies on boot-clj/boot-cljs#50 but I'm not entirely sure.

flatten
distinct
(remove nil?)
(apply merge-with concat))))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like some suggestion how to make this more concise if possible.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe

(defn get-upstream-deps []
  "The way Clojurescript handles this does not work when
   using classloaders in the fancy ways we do."
  (->> (pod/classloader-resources "deps.cljs")
       (keep second)
       (mapcat identity)
       (map (comp read-string slurp))
       (apply merge-with concat)))

I didn't thoroughly test, but keep is maybe useful here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice didn't know about keep 💯

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alandipert that seems to work :)

@martinklepsch
Copy link
Contributor Author

@micha can we merge & deploy this please?

alandipert added a commit that referenced this pull request Feb 17, 2015
@alandipert alandipert merged commit b6d1d3c into adzerk-oss:master Feb 17, 2015
@alandipert
Copy link
Member

Just deployed 0.1.9 also 🍻

@martinklepsch
Copy link
Contributor Author

🍻 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants