V: Cross-platform shell scripts in V / Support for shebang?

Created on 25 Jun 2019  路  3Comments  路  Source: vlang/v

The possibility for cross-platform shell scripting mentioned in the documentation looks somehow promising. Under UNIX it would however be useful to have an executable using a shebang in the form of eg.: #!/usr/bin/v or #!/usr/bin/env v rather than having to run the script using eg. v run deploy.v - especially as you advertise it as alternative to traditional shell (bash) scripting.

Are there any plans to support this?

Feature Request Question

Most helpful comment

Sure. This will be available together with the V script feature.

All 3 comments

Sure. This will be available together with the V script feature.

@medvednikov good read, although I think the approach could be refined: Using Go instead of bash for scripts

Was this page helpful?
0 / 5 - 0 ratings

Related issues

medvednikov picture medvednikov  路  3Comments

jtkirkpatrick picture jtkirkpatrick  路  3Comments

PavelVozenilek picture PavelVozenilek  路  3Comments

arg2das picture arg2das  路  3Comments

vtereshkov picture vtereshkov  路  3Comments