escript support #33

Closed
vladimirk opened this Issue Aug 9, 2012 · 5 comments

Comments

Projects
None yet
4 participants
Contributor

vladimirk commented Aug 9, 2012

add support for

!/usr/bin/env escript

@ghost ghost assigned ignatov Aug 11, 2012

Owner

ignatov commented Apr 18, 2013

What features you would to see as a escript support?

Contributor

vladimirk commented Apr 18, 2013

As any other erlang file.

rekby commented Sep 14, 2013

  • ignore shebang string
Collaborator

deadok22 commented Sep 14, 2013

I've started working on it and there are some questions I'd like to ask.

  1. You can't compile files containing shebang with erlc, so I wonder how our project builders should deal with it - should they ignore files with shebang in them, comment out shebangs prior to compilation or maybe copy these files to output directory?
  2. If we're going to support escript, I guess, it would be a good thing to have run configurations to run escript files?
  3. Which other features would be good to have?

rekby commented Sep 14, 2013

I think it must be copy as is to output dir during publish, but comment first line and compile for other purposes (for example check errors.

@ignatov ignatov closed this Nov 24, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment