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
KuduScript currently has no first-class support for "target platform", or (alternatively) a couple of platform-related options: automatic modification of directory separator (forward slash vs. backslash) and automatic modification of line endings in the generator script (CRLF vs LF).
Some decisions are based on the type of script being generated, and some are based on the platform that KuduScript is running on (as opposed to the platform the resulting script will run on).
Not sure exactly what the result would look like yet.
The text was updated successfully, but these errors were encountered:
I believe this issue is related to a problem I recently had.
From the docs
It suggests to run kuduscript -y --node
Because I was on Windows it generated a deploy.cmd file, but I was deploying to "App Service for Linux" so it couldn't use the deploy.cmd and it failed. The was very difficult to diagnose for me because I thought I was following the directions.
I would suggest to add a --platform option like: kuduscript -y --node --platform=linux
In this case if overrides the detection of OS and forces the right file deploy.sh to be generated.
Or if the authors prefer not for the options to take values then it can specify linux directly. kuduscript -y --node --linux
It should also update the docs to explain this issue of deploying to an environment that different OS than your current development machine and when to use these options.
KuduScript currently has no first-class support for "target platform", or (alternatively) a couple of platform-related options: automatic modification of directory separator (forward slash vs. backslash) and automatic modification of line endings in the generator script (CRLF vs LF).
Some decisions are based on the type of script being generated, and some are based on the platform that KuduScript is running on (as opposed to the platform the resulting script will run on).
Not sure exactly what the result would look like yet.
The text was updated successfully, but these errors were encountered: