Skip to content
Michael edited this page Feb 4, 2021 · 1 revision

Introduction

This is a start on a Wiki for hacking on elfeed-score.

Setup

The unit tests require some macros defined by the elfeed test suite, which is not distributed along with the package. Therefore, you’ll need to clone the elfeed repo & develop against that:

cd ~/projects
git clone https://github.com/skeeto/elfeed
git clone https://github.com/sp1ff/elfeed-score
cd elfeed-score
export EMACSLOADPATH=~/projects/elfeed:~/projects/elfeed/test:path-to-my-emacs'-lisp-files

elfeed-score uses the Autotools for building, testing & packaging, so you’ll need to bootstrap that:

./bootstrap
./configure
# 'make (all)' will byte-compile the elfeed-score lisp files
make 
# 'make check' will run the unit test suite
make check
# 'make dist' will create the distribution package, but I always use the 'distcheck' target instead
make distcheck
Clone this wiki locally