A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/rejeep/evm below:

GitHub - rejeep/evm: Emacs Version Manager

As Travis is moving towards a container-based infrastructure, hence sudo is not possible, EVM added support for Travis specific binaries (ends with -travis), which will be installed in /tmp.

All -bin versions will are deprecated and will be removed. Do not use them!

To run EVM on Travis, set the EVM path to /tmp:

See https://gist.github.com/rejeep/ebcd57c3af83b049833b for more information on how to use EVM on Travis.

Supported! (currently no pre-compiled binaries for CI)

Supported!

Not supported. Need help from someone running Windows.

Default installation directory for EVM Emacs versions is /usr/local/evm. This can be changed with the config command:

$ evm config path /foo/bar

No matter what installation approach you choose, create the installation directory and give your user access rights, for example:

$ sudo mkdir /usr/local/evm
$ sudo chown $USER: /usr/local/evm
$ curl -fsSkL https://raw.github.com/rejeep/evm/master/go | bash

Add EVM's bin directory to your PATH.

$ export PATH="$HOME/.evm/bin:$PATH"

NOT ADDED YET

$ git clone https://github.com/rejeep/evm.git ~/.evm

Add EVM's bin directory to your PATH.

$ export PATH="$HOME/.evm/bin:$PATH"

In the Evm bin directory, there are a few commands:

To list all available Emacs versions you can install, run:

The output will look something like this:

emacs-23.4
emacs-24.1 [I]
emacs-24.2
* emacs-24.3 [I]
emacs-24.3-travis [I]
...

The [I] shows what versions are currently installed and the * shows what version is currently selected.

To install a version, run:

Example:

To start using a specific package, run:

Example:

The Evm binary will update and use that Emacs package.

To stop using an EVM binary and restore your personal or system defaults:

To uninstall a version, run:

$ evm uninstall emacs-24.2

Prints the full path to name's Emacs executable. If no name is specified, use currently selected.

$ evm bin # /usr/local/evm/emacs-24.5/Emacs.app/Contents/MacOS/Emacs
$ evm bin emacs-24.2 # /usr/local/evm/emacs-24.2/Emacs.app/Contents/MacOS/Emacs

For more information, run:

Be sure to!

Implement the features and don't forget to test it. Run the tests with:

If all passes, send us a pull request with the changes.

Adding a new Emacs version

Copy an existing recipe in the recipes directory and make modifications for the new version. Also add the new version to the Travis configuration.

If you want to contribute a Travis binary, these instructions will help.

  1. Install Docker

  2. Run the generate script:

$ docker/build-release.sh 27.1 linux-xenial
$ ls emacs-27.1-travis-linux-xenial.tar.gz
emacs-27.1-travis-linux-xenial.tar.gz

Caution: Be prepared to wait!

If you are running this script for the first time, it will need to create the build image, which means downloading a large (> 10 GB) base image from Travis CI, and further configuring it with the tools needed to compile Emacs from source.

In addition, the Emacs build takes time and generates a fair amount of console output.

  1. Create a new recipe and make a pull request.

  2. Ask maintainer to add a new release and add the binary.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4