geeklearningio / gl-vsts-tasks-yarn

Yarn Package Manager Visual Studio Team Services Build and Release Management extensions
MIT License
52 stars 18 forks source link

Arguments and Install Options #38

Closed argrithmag closed 6 years ago

argrithmag commented 6 years ago

It appears that when I create a yarn task to build, and append the Production install flag, it's running the task with the arguments out of order. It'll run "yarn --production build" which causes it to ignore the build portion.
image

I have to manually flag the --production on the arguments line: image

... works fine: image

sandorfr commented 6 years ago

Hi yes the production Install option is only for when you restore dependencies. In other cases you should just use you own argument.