Skip to content

daichirata/trindle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notice

I'm not good at English.
So please correct my English.

Trindle.el

Commentary

'trindle.el' referred to "bundler" of programming language ruby, and created it. Unlike package management, only the function of simple management is offered. These manage that in which I have installed what from init.el(or any config file).

Installation

$git clone--recursive https://github.com/daic-h/trindle.git

How to use basic

to require the trindle.

(require 'trindle)

define the package.

(trindle: packages
   (:type "github":name "daic-h/trindle"))

You can install, update, and remove by defining the package.

(trindle: install)
(trindle: install!); delete a file that is not defined in the package, perform the install.
(trindle: update)
(trindle: update-all)
(trindle: remove)

Also, these commands can be called interactive.

call (trindle:initialize), the package file is loaded if defined has been installed.

Customization

Definition of package

  • Common
  • :init-submodule init a submodule to if you want to clone, default t
  • :byte-compile byte-compiled if you want to clone, default t
  • :load-package to load when call the trindle:itialize, default t

These default values can be changed by trindle:configure

  • emacswiki

  • :type "emacswiki"

  • :name - the name of the package emacswiki, required

  • github

  • :type "github"

  • :name -"username/repository", required

  • :branch - branch name when you clone, default "master"

  • git

  • :type "git"

  • :url - url of the repository, required

  • :name - the name of the package, required

  • :branch - branch name when you clone, default "master"

  • svn

  • :type "svn"

  • :url - url of the repository, required

  • :name - the name of the package, required

  • http

  • :type "http"

  • :url - url of the elis-file, required

  • :name - the name of the package, required

  • http-tar

  • :type "http-tar"

  • :url - url of the elis-file, required

  • :name - the name of the package, required

Argument by (trindle:configure)

  • :dir - directory where the package is installed, default "~/.emacs.d/trindle"
  • :smp - number to be executed at the same time in the install and update, default 1
  • :init-submodule - it will be the initial value of the package, default t
  • :byte-compile - it will be the initial value of the package, default t
  • :load-package - it will be the initial value of the package, default t

Sample Setting

(require 'trindle)

(trindle:packages
 (:type "github" :name "daic-h/initialize")
 (:type "github" :name "emacsmirror/shell-pop")
 (:type "emacswiki" :name "auto-async-byte-compile")
 (:type "http" :name "ruby-mode" :url "http://bugs.ruby-lang.org/projects/ruby-trunk/repository/raw/misc/ruby-mode.el"))

(trindle:configure :dir "~/.emacs.d/elisp/bundle/" :smp 3)
(trindle:initialize)

Credits

kiwanami/emacs-deffered plays an important feature of this library.

About

Simple Emacs LISP management extension

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •