Open maxtaco opened 8 years ago
So the compiled release files will be in the same branch, but we will only commit them for the release? Kind of like it has been done so far. Do I understand this correctly?
Yeah, exactly. I think we need a tool to automate all of this, otherwise, we're bound to make mistakes.
Hm, so I don't think I understand the forking completely. Couldn't it just work on current commit in current git repository?
Sorry, fork was the wrong word, sorry about that.
I'd still like to revisit the idea of keeping compiled files in separate branch, but maybe that's for later - I'm not sure how this could be done right now. Thanks for clarifying! I'll get it done.
The big issue with checking in the compiled code I've found is that it makes merging really hairy. Not impossible to deal with, just hairy...
There should probably be a script to help with merges with mainline as well, what do you think?
So the additional source file would specify iced version number (single number, the IcedCoffeeScript.patch
). But where would the CoffeeScript version be obtained from?
Can we read it directly out of package.json
? If not, it's exported from coffee-script.coffee
Oh, right. Thanks
The tool should be written in
iced
, meaning we assume that we currently have a global working version oficed
, which isn't too bad an assumption.There should be one additional source file which specifies the
iced
version on top of the current CoffeeScript version forked from master. From this version, we can produce theiced
version, which is:The script should:
npm publish