Merge remote-tracking branch 'canonical/next'
[sinan.git] / features / sint_escript_exe.feature
blob94d8d8c57c9ca9c3b971b41685c157b453cee93a
1 Feature: Support generating an escript from a project
2   In order to make it easier to distribute certain kinds of projects
3   As an Erlang Developer
4   I want to be able to generate an escript from my project
6   Scenario: Generate a complex escript
7     Given a generated project
8     And a project name named module with a main function
9     When an escript step is run on this project
10     Then build the project normally
11     And produce an executable escript
13   Scenario: Generate a complex escript with script
14     Given a generated project
15     And a escript directive in the build config
16     And a escript file that should become the base
17     When an escript step is run on this project
18     Then build the project normally
19     And produce an executable escript