Giter Club home page Giter Club logo

asdf-v's Introduction

asdf-v

V (The V Programming Language) plugin for asdf version manager

Build Status

Install

Make sure you have curl and cc. (and asdf.) Also, if you plan to use the http package and/or gui packages, you need some dependencies. Read https://github.com/vlang/v#running-the-examples.

To install the plugin, run this:

asdf plugin-add v

(Now this plugin is on the asdf-plugins repo, so no Github urls are needed!)

Compiling from a Github Release Tag

$ asdf install v 0.1.0

Compiling from a Git reference or from source

Along with released versions, you can always install any version of the git commit id or git tag name.

Using the CLI

You can download and compile a specific commit reference from the V GitHub repository by running: asdf install v ref:<commit reference>. You can then set the local/global version to your new version by running:

asdf local v ref:<commit reference>
# Or
asdf global v ref:<commit reference>

.tool-versions file

You can specify the version to install with a line like so in your .tool-versions file:

v ref:<commit reference>

About symlinks

In the past, V required ~/code/v to be the executable path, and asdf-v used and recreated a symlink every time the asdf shim was called. V now doesn't use that directory (and ENV values), so current asdf-v versions do not create symlinks, and doesn't require/edit the ~/code directory anymore.

Use

Check asdf readme for instructions on how to install & manage versions of V.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.