Skip to content
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

concerto-cli compile command not working with target #146

Closed
j4m3sb0mb opened this issue Oct 28, 2019 · 2 comments
Closed

concerto-cli compile command not working with target #146

j4m3sb0mb opened this issue Oct 28, 2019 · 2 comments
Assignees

Comments

@j4m3sb0mb
Copy link
Contributor

Describe the bug
concerto-cli compile command requires target as argument but then uses argv.format causing this error:

Unrecognized target: undefined

https://github.com/accordproject/concerto/blob/master/packages/concerto-cli/index.js#L82

@jeromesimeon
Copy link
Member

Describe the bug
concerto-cli compile command requires target as argument but then uses argv.format causing this error:

Unrecognized target: undefined

https://github.com/accordproject/concerto/blob/master/packages/concerto-cli/index.js#L82

Good catch @j4m3sb0mb Thanks. I'll fix this ASAP.

@jeromesimeon
Copy link
Member

Fixed in #147 Will be in the next release.

Here is a test:

bash-3.2$ concerto --version
0.82.3
bash-3.2$ concerto 
10:49:45 - info: Unrecognized target: undefined
bash-3.2$ ~/git/concerto/packages/concerto-cli/index.js compile --target Java --ctoFiles money.cto 
10:49:58 - info: Compiled to Java in './output/'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants