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

Adding script to implement feature #188. #242

Closed
wants to merge 5 commits into from

Conversation

SecretDeveloper
Copy link

Implements #188.

So I added a simple script that will attempt to download any themes which have a Url value defined. It continues to use the FileName value as the local filename. For themes with no Url defined then nothing should change, however if theme creators choose to include a Url then we can periodically update the version in the themes folder to ensure we have the latest.

Suggested flow:

  1. Have theme creators add Url values
  2. Run npm run update to download themes locally.
  3. Run npm run test to confirm each theme is parsable. I have some checks on the download to catch any weirdness but the tests will confirm content is valid.
  4. Commit and push changes.

Also adding Monokai_SD theme.

@SecretDeveloper
Copy link
Author

Ugh, just noticed I had incorrectly added 2 duplicated theme files by accident with slightly different names which was causing the tests to fail. Corrected now.

@SecretDeveloper
Copy link
Author

Closing PR.

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

Successfully merging this pull request may close these issues.

1 participant