Skip to content

Latest commit

 

History

History
52 lines (30 loc) · 2.42 KB

README.md

File metadata and controls

52 lines (30 loc) · 2.42 KB

emacs-clj-deps-new

MELPA

Elisp wrapper around deps-new and clj-new. Create Clojure projects from templates within Emacs.

emacs-deps-new

Included Community Templates

If you have a template that you think would be useful for others, feel free to submit a PR with additional menu options or submit an issue with a link to the template.

Installation

Dependencies

  • A version of Clojure that includes Clojure CLI Tools (comes included in any recent version)
  • deps-new available on your system
  • clj-new available on your system.

deps-new and clj-new can be installed with the following commands:

clojure -Ttools install io.github.seancorfield/deps-new '{:git/tag "v0.5.2"}' :as new

clojure -Ttools install com.github.seancorfield/clj-new '{:git/tag "v1.2.399"}' :as clj-new

MELPA

  • Run M-x package-install clj-deps-new
  • If the package wasn't found, run M-x package-refresh-contents
  • Place (require 'clj-deps-new) in your init file

Manual Installation

  • Run git clone https://github.com/jpe90/emacs-deps-new.git
  • In emacs, run package-install-file and navigate to clj-deps-new.el
  • Place (require 'clj-deps-new) in your init file

Usage

Run M-x clj-deps-new and follow the on-screen prompts to create a project. When opts are enabled, the text in parenthesis display a preview of the argument that will be passed to the final command.

Extending

See the Community Templates section of clj-deps-new.el to see how to add new templates to the interface.

You may to familiarize yourself with the basics of Transient. The Developer Quick Start Manual and Transient Manual are good places to get started. In particular, note the section on modifying existing transients.