Example repository using Emacs-Make
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.gitignore
.travis.yml
Makefile
README.org
sample.el
test-buttercup.el

README.org

Emacs-Make – Example https://travis-ci.org/vermiculus/emake.el-example.svg?branch=master

This repository serves as a model for others to start using EMake to kick off tests on a service like Travis CI.

.travis.yml
This is the Travis CI configuration file. Refer to its documentation for more information there, but note that we can test on multiple versions of Emacs thanks to emacs-travis.mk.
Makefile
This file handles retrieving the emacs-travis.mk and emake.el scripts as well as calling EMake to perform various tasks. See the file for details.
sample.el
This is an example project file.
test-buttercup.el
This is an example test file using the Buttercup behavior-driven testing framework available on MELPA.
test/sample.el
This is an example test file using the ERT unit testing framework available in Emacs.

Normally, I would’ve included test-buttercup.el in the test/ directory, but the describe macro Buttercup defines is not defined during ERT-based testing and will cause that script to fail. ERT and Buttercup won’t normally be used together, but it is possible. Refer to the EMake documentation if you want to do this.