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

Create a grunt task that fixes all the names #1

Closed
samreid opened this issue Aug 24, 2014 · 4 comments
Closed

Create a grunt task that fixes all the names #1

samreid opened this issue Aug 24, 2014 · 4 comments
Assignees

Comments

@samreid
Copy link
Member

samreid commented Aug 24, 2014

We should create a grunt task that is run with the name of the simulation, and the names of the screens (if more than one), and it uses the simula-rasa as a template for updating the filenames, vars, etc.

@samreid
Copy link
Member Author

samreid commented Aug 24, 2014

Perhaps a good workflow:

  1. the user creates an empty GitHub repo with the desired name "my-simulation"
  2. the user checks out simula-rasa and its dependencies
  3. cd simula-rasa
  4. grunt create my-simulation screen1Name screen2Name
  5. cd ../my-simulation
  6. git add --all
  7. git commit -am "commit message"
  8. git push

The step (4) above copies from simula-rasa to the my-simulation/ directory and replaces filenames and var names as necessary.

@samreid
Copy link
Member Author

samreid commented Aug 24, 2014

Indeed all of the above could also be done using example-sim as the template (if we don't want to maintain a separate example + template).

@pixelzoom
Copy link
Contributor

@samreid can we close this? grunt create-sim does what was requested here, with the exception of multiple screens, and it seems to be serving us well. And the request for multiple screens is tracked in #19.

@samreid
Copy link
Member Author

samreid commented Feb 19, 2021

Yes, I think this issue can be closed, thanks!

@samreid samreid closed this as completed Feb 19, 2021
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