You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found out that the syntax 'swagger-codegen generate' in the Makefile is the command used for Homebrew. So I installed Linuxbrew - but the problem is, I cannot run the command swagger-codegen as root user.
How can I solve this?
Thank you!
The text was updated successfully, but these errors were encountered:
See .travis.yml to see how tests are being set up. It will point you to .travis/install-swagger-codegen.sh which, if you examine it, fetches a version of swagger-codegen into ~/local/swagger-codegen-cli.jar
If you read further, at this point if you want to run tests, you pass it the correct command to invoke swagger-codegen as a make variable:
make whatever-target-you-actually-want SWAGGER_CODEGEN="java -jar $HOME/local/swagger-codegen-cli.jar"
You don't need Linuxbrew, nor if you did can I see where running swagger-codegen as root would come into play.
You shouldn't make or make test things as root, ever. You should at most make install software that support installation, but after running make as a regular user.
Hello,
I tried to run make test, but it failed.
I made sure, that swagger-codegen is buildable. Also i used the release from 2.1.6
I found out that the syntax 'swagger-codegen generate' in the Makefile is the command used for Homebrew. So I installed Linuxbrew - but the problem is, I cannot run the command swagger-codegen as root user.
How can I solve this?
Thank you!
The text was updated successfully, but these errors were encountered: