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.

  • 1
    Why don't you take a look at a small package? – lunaryorn 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 for instance. – lunaryorn 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 8:30
1

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

This was originally a comment so credit goes to lunaryorn.

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.