Thread overview
[Issue 10352] New: Regression (2.063): --eval is broken in RDMD
Jun 14, 2013
Andrej Mitrovic
Jun 15, 2013
Nils
Jun 20, 2013
Andrej Mitrovic
June 14, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10352

           Summary: Regression (2.063): --eval is broken in RDMD
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: andrej.mitrovich@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-06-13 18:16:37 PDT ---
2.062
$ rdmd --force --eval="writeln(1)"
> 1

2.063
$ rdmd --force --eval="writeln(1)"
> rdmd build 20130514
> Usage: rdmd [RDMD AND DMD OPTIONS]... program [PROGRAM OPTIONS]...
> Builds (with dependents) and runs a D program.
> Example: rdmd -release myprog --myprogparm 5
> 
> Any option to be passed to the compiler must occur before the program name. In
> addition to compiler options, rdmd recognizes the following options:
>   --build-only      just build the executable, don't run it
>   --chatty          write compiler commands to stdout before executing them
>   --compiler=comp   use the specified compiler (e.g. gdmd) instead of dmd
>   --dry-run         do not compile, just show what commands would be run
>                       (implies --chatty)
>   --eval=code       evaluate code as in perl -e (multiple --eval allowed)
>   --exclude=package exclude a package from the build (multiple --exclude allowed)
>   --force           force a rebuild even if apparently not necessary
>   --help            this message
>   --loop            assume "foreach (line; stdin.byLine()) { ... }" for eval
>   --main            add a stub main program to the mix (e.g. for unittesting)
>   --makedepend      print dependencies in makefile format and exit
>   --man             open web browser on manual page
>  --shebang         rdmd is in a shebang line (put as first argument)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 15, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10352


Nils <nilsbossung@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |nilsbossung@googlemail.com


--- Comment #1 from Nils <nilsbossung@googlemail.com> 2013-06-15 14:43:14 PDT ---
https://github.com/D-Programming-Language/tools/pull/66

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 20, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10352



--- Comment #2 from github-bugzilla@puremagic.com 2013-06-20 14:57:58 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/tools

https://github.com/D-Programming-Language/tools/commit/01cdc330a433d654a55f8d52420f796863c34e6c Merge pull request #66 from NilsBossung/10352

fix Issue 10352 - Regression (2.063): --eval is broken in RDMD

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 20, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10352


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------