Skip to content

jpe90/emacs-clj-deps-new

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 as "tools" (Clojure CLI 1.11.1.1149 or later) with the following commands:

clojure -Ttools install-latest :lib io.github.seancorfield/deps-new :as new

clojure -Ttools install-latest :lib com.github.seancorfield/clj-new :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

Using use-package

Put this expression in your config file and eval:

(use-package clj-deps-new
  :ensure t
  :defer t)

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.

About

Emacs interface to deps-new and clj-new

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published