purcell / package-lint

A linting library for elisp package metadata
GNU General Public License v3.0
196 stars 34 forks source link

feat: Added a Makefile #276

Closed vHugoObject closed 2 months ago

vHugoObject commented 2 months ago

Used run-tests.sh as a base to setup a Makefile for this project. I also added init-package.el and init.el for the elisp code used to setup tests. Theses packages are loaded when needed. Each rule can be called seperately. However, make all can be used if you simply want to run everything from run-tests.sh at once. When make test is called, you can now specify what tests you want to run using the SELECTOR variable. If you want to test your changes in a fresh version of emacs, you can use make run.

purcell commented 2 months ago

Thanks, this is a good idea! I actually have a Makefile formulation I use in all my other elisp projects, so I prefer to re-use that here — I drafted a PR for that in #277, let me know what you think.

purcell commented 2 months ago

Replaced by #277, thanks for the prod and your help!