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.

  • 1
    Why don't you take a look at a small package?
    – user227
    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. Jan 23 '16 at 16:28
  • 3
    There are plenty of potential packages on MELPA. Take a look at seq.el for instance.
    – user227
    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. Feb 24 '16 at 8:30

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.