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

Support watching several shadow-cljs builds. #2940

Merged
merged 1 commit into from
Dec 10, 2020

Conversation

ageneau
Copy link
Contributor

@ageneau ageneau commented Dec 6, 2020

Support watching several shadow-cljs builds.


Before submitting the PR make sure the following things have been done (and denote this
by checking the relevant checkboxes):

  • The commits are consistent with our contribution guidelines
  • You've added tests (if possible) to cover your change(s)
  • All tests are passing (eldev test)
  • All code passes the linter (eldev lint) which is based on elisp-lint and includes
  • You've updated the changelog (if adding/changing user-visible functionality)
  • You've updated the user manual (if adding/changing user-visible functionality)

Thanks!

If you're just starting out to hack on CIDER you might find this section of its
manual
extremely useful.

@ageneau ageneau force-pushed the shadow-init branch 3 times, most recently from 818ba0c to 94a62a9 Compare December 10, 2020 14:58
cider.el Outdated
(defcustom cider-shadow-watched-builds nil
"Defines the list of builds `shadow-cljs' should watch."
:type '(repeat string)
:package-version '(cider . "0.26.2"))
Copy link
Member

Choose a reason for hiding this comment

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

This should say "1.0".

CHANGELOG.md Outdated
@@ -5,6 +5,7 @@
### New features

* [#2909](https://github.com/clojure-emacs/cider/issues/2909): Add new customization variable `cider-inspector-auto-select-buffer` to control the auto selection of the inspector buffer.
* Add a new customization variable cider-shadow-watched-builds to allow watching several shadow-cljs builds at the same time.
Copy link
Member

Choose a reason for hiding this comment

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

You can link to your PR here.

@bbatsov
Copy link
Member

bbatsov commented Dec 10, 2020

Apart from my small remarks, your changes look good.

Add a cider-shadow-watched-builds customization variable which is the list of
builds to watch. If not defined fallback on watching the default build set in
cider-shadow-default-options or prompt the user.
@ageneau
Copy link
Contributor Author

ageneau commented Dec 10, 2020

PR updated with your feedback.

@bbatsov bbatsov merged commit db2ead4 into clojure-emacs:master Dec 10, 2020
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