-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Allow *.js input to --join #2032
Comments
And how would you specify which files are JS and which are CS? I think you're looking for |
I would specify the files by extension *.js and *.coffee foo.coffee how would i do that with To clarify this issue, i already have written my own tool that concats scripts and "resolves" *.js files with putting |
@atrefz: I don't think we should treat files with different extensions differently. Just do this:
You do know that |
@michaelficarra Yes, a quick google search revealed that even to a guy without any unix knowledge(=me). Maybe i was not clear enough, how could i achieve a specific order where i have a *.coffee, followed by a *.js and then again another *.coffee while it is important to maintain that order? The only way that i see with |
Easy:
To omit the duplicated headers, I believe you have to interact with the compiler programmatically for now. edit: see #1820 for the duplicated helpers pull request, still open |
This could be closed now, because of #3477, right? |
With --join we now got a nice tool to concat files for bigger projects but to allow coffeescript to integrate better into legacy codebases i would suggest to allow painless joining of *.js files.
What do you think about this?
The text was updated successfully, but these errors were encountered: