creationix / tedit

Chrome app for tedit
https://chrome.google.com/webstore/detail/tedit-development-environ/ooekdijbnbbjdfjocaiflnjgoohnblgf
ISC License
188 stars 27 forks source link

Implement .rule based build system #35

Closed creationix closed 10 years ago

creationix commented 10 years ago

The current symlink based build system has issues with interop with other editors/platforms (who don't always have reliable symlinks). Also the current wildcard expansion rule is too primitive. Instead the new system will create a new file extension called .rule These will be written in JON syntax (A JSON-like subset of Jack that's a strict superset of JSON. Basically this will mean JSON with comments). The contents of this file will be an object with only one pre-defined property name program that tells it the name of the filter to use. Everything else will be passed to the filter as config data.

These rules won't have wildcard expansion in the name, but will be able to create trees instead of blobs. This way a single rule could take a tree of js files and output a new tree of AMD files.

creationix commented 10 years ago

This is almost implemented. Just fixing a few bugs related to cache state and overlayed trees interacting in interesting ways.

creationix commented 10 years ago

Done! https://twitter.com/creationix/status/439484112089665537 Now releasing to store as 0.2.2 so that self-hosting works again.