Skip to content
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

Autodetect a few different static site generators #18

Open
jasikpark opened this issue Aug 25, 2020 · 4 comments
Open

Autodetect a few different static site generators #18

jasikpark opened this issue Aug 25, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@jasikpark
Copy link

Things that would be nice for the future (roughly ordered, see also #enhancements)

Try to autodetect a few common static site generators (hugo, jekyll, gatsby)

Maybe look into how netlify dev works... I'm sure it's probably just grabbing and running whatever's in netlify.toml?

@jasikpark
Copy link
Author

jasikpark commented Aug 25, 2020

https://github.com/netlify/cli/blob/master/docs/commands/dev.md#devexec

Probably a good ui, at the very least

@jasikpark
Copy link
Author

jasikpark commented Aug 25, 2020

@capnfabs
Copy link
Owner

Hey! Thanks for digging that up; it's a useful resource!

My current thinking is that the path to this would probably be:

  • Have a --buildCmd option which allows you to specify the entire build command
  • Support putting that + other options in a grouseconf.toml (which is something the arg parsing library supports for only a few lines of code).

This gets most of the way feature-wise; I'm still not sure that I want to have to maintain a bunch of detection logic, even if I can just port it from netlify 🤔

@capnfabs capnfabs added the enhancement New feature or request label Aug 25, 2020
@capnfabs capnfabs changed the title Autodetect SSGs via the same way netlify dev does? Autodetect a few different static site generators Aug 25, 2020
@capnfabs
Copy link
Owner

This is blocked on #6

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

No branches or pull requests

2 participants