3

I want to use Cask for development, but have trouble getting it set up.

Could anyone please show a minimal example with one package file, one function and one ert-test and which commands you need to 1) run the tests and 2) install the package?

Just something simple like an add function, and a test for 2+2.

The Unfun Cat
  • 2,393
  • 16
  • 32
  • 1
    Why don't you take a look at a small package? –  Jan 22 '16 at 22:26
  • Haven't found one. All the examples linked to in the old wiki are rather large so if something breaks, you do not know why. – The Unfun Cat Jan 23 '16 at 16:28
  • 3
    There are plenty of potential packages on MELPA. Take a look at [seq.el](https://github.com/NicolasPetton/seq.el) for instance. –  Jan 23 '16 at 17:48
  • 1
    @lunaryorn why don't you add that comment as an answer? It helped me, and I would vote for it. – Stig Brautaset Feb 24 '16 at 08:30

1 Answers1

2

Per lunaryorn's comment, Have a look at seq.el. It's a good example of a small Cask project.

JCC
  • 989
  • 5
  • 15