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

jtkirkpatrick picture jtkirkpatrick  路  3Comments

fidergo-stephane-gourichon picture fidergo-stephane-gourichon  路  3Comments

taojy123 picture taojy123  路  3Comments

ArcDrake picture ArcDrake  路  3Comments

oleg-kachan picture oleg-kachan  路  3Comments