jashkenas--coffeescript/documentation
Danny McClanahan 4e57ca6833 [CS2] Add #! support for executable scripts on Linux. (#3946)
* Add #! support for executable scripts on Linux.

Pass arguments to executable script unchanged if using "#!/usr/bin/env
coffee". (Previously, "./test.coffee -abck" would be turned into "-a -b -c -k",
for example.)

Fixes #1752.

* refactor option parsing

clean up parsing code and in the process fix oustanding bug where coffeescript
modified arguments meant for an executable script

* address comments

* intermediate save

* add note saying where OptionParser is used in coffee command

* add some more work

* fix flatten functions

* refactor tests

* make argument processing less confusing

* add basic test

* remove unused file

* compilation now hangs

* remove unnecessary changes

* add tests!!!

* add/fix some tests

* clarify a test

* fix helpers

* fix opt parsing

* fix infinite loop

* make rule building easier to read

* add tests for flag overlap

* revamp argument parsing again and add more thorough testing

* add tests, comment, clean unused method

* address review comments

* add test for direct invocation of shebang scripts

* move shebang parsing test to separate file and check for browser

* remove TODO

* example backwards compatible warnings

* add correct tests for warning 1

* add tests for warnings

* commit output js libs and update docs

* respond to review comments

also add tests for help text

* respond to review comments

* fix example output

* Rewrite argument parsing documentation to be more concise; add it to sidebar and body; add new output

* Don’t mention deprecated syntax; clean up variable names
2017-07-19 16:25:06 -07:00
..
examples 2.0.0-beta3 (#4594) 2017-06-30 09:58:05 -07:00
images [CS2] JSX documentation, Try CoffeeScript improvements (#4583) 2017-06-25 23:53:35 -07:00
sections [CS2] Add #! support for executable scripts on Linux. (#3946) 2017-07-19 16:25:06 -07:00
v1 1.12.7 docs 2017-07-17 00:25:02 -07:00
v2 [CS2] Add #! support for executable scripts on Linux. (#3946) 2017-07-19 16:25:06 -07:00
index.html Docs improvements: content in Markdown, organization into subtemplates, fixed tests (#4401) 2016-12-15 21:05:44 -08:00
test.html [CS2] Destructuring object spreads (#4493) 2017-06-29 22:57:42 -07:00