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

Add a basic build system #2

Open
faultyserver opened this issue Dec 11, 2017 · 1 comment
Open

Add a basic build system #2

faultyserver opened this issue Dec 11, 2017 · 1 comment

Comments

@faultyserver
Copy link
Owner

The XML-based syntax for themes is not very conducive to DRY code, and it's easy to get lost with all of the verbosity around the actual important code.

Having an abstraction layer will do a few nice things:

  1. Reduce chance of copy-paste errors by using variables for colors.
  2. Simplify adding new rules by using a cleaner syntax.
  3. Simplify creating theme variants by allowing multiple build targets to be given.
@faultyserver
Copy link
Owner Author

I think the easiest build system would be a Makefile that runs a Ruby script to generate the proper XML.

To match the .sublime-syntax structure, the abstraction layer would make sense as a .yml file.

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

1 participant