Flutter-Bounty-Hunters / static_shock

A static site generator for Dart.
MIT License
58 stars 5 forks source link

Automatically initialize project after creation (Resolves #98) #99

Closed matthew-carroll closed 2 months ago

matthew-carroll commented 2 months ago

Automatically initialize project after creation (Resolves #98)

Every Static Shock project needs to call dart pub get before it can run a build. This isn't obvious to the average user, so we should run it immediately after project creation.

Also, we should automatically run a static site build after creating the project, too. That way the user is in the ideal position to begin creating content.

This PR runs dart pub get and then dart run bin/{project}.dart after creating the project.