Skip to content

Suggested new project type : eask + buttercup #1935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Trevoke opened this issue Feb 25, 2025 · 2 comments
Open

Suggested new project type : eask + buttercup #1935

Trevoke opened this issue Feb 25, 2025 · 2 comments

Comments

@Trevoke
Copy link

Trevoke commented Feb 25, 2025

I think this should work - it does for me, anyway. Not tested on enough projects to make it a PR, don't wanna break projectile :)

(projectile-register-project-type 'emacs-eask-buttercup '("Eask" "tests")
                                  :project-file "Eask"
                                  :compile "eask compile"
                                  :test "eask test buttercup"
                                  :test-suffix "-test")
@bbatsov
Copy link
Owner

bbatsov commented Feb 25, 2025

Your proposal seems fine to me, although it'd be hard to tell for sure if a project is using buttercup or ERT. (as tests is a common directory for ERT tests as well)

@bbatsov
Copy link
Owner

bbatsov commented Feb 25, 2025

Btw, Projectile also uses buttercup, but it's using Eldev instead of Eask, and one feature I really like there is that Eldev will auto-detect the testing framework used, so you don't really need to have any special handling based on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants