Git Product home page Git Product logo

vir's Introduction

Vir

Vir is like rebar, only it isn't rebar. If that isn't enough to sell it I don't know what is. Anyway, templates and system assume a usage of a sensible Makefile system, although this is compatible with rebar based dependencies.

Download the 'vir' script, stick it in path (or in your project) and then execute it. It will download everything it needs and away you go. Run it for info, enough said.

When I ran it this morning, this is what it told me

vir is a tool for doing the basic Erlangy bits and bobs, see the below commands for more info
---

vir upgrade
---
   updates the templates for vir (doesn't update this running script though)

vir init [-t <template>] [-d <targetdir] <app_name>
---
  Creates a new project, optional defaults are:
  template: "empty"
  targetdir: "/home/robashton/.vir"

vir boot
---
   Creates bootscripts for runnable applications
   This needs to be run whenever a new dependency is added to an application

vir run [-m <mode>] [-c <cookie] [-k <kernelargs>] <app_name>
---
   Runs an application from the apps dir (by name), optional defaults are:
   defaults are:
   mode: ""
   cookie: "cookie"
   kernelargs: "-kernel inet_dist_listen_min 9100 inet_dist_listen_max 9105"

vir release [-d]
---
   Creates a self extracting tar of each application and updates the versions (if available)
   -d is a dirty release (don't build deps, don't clean all)
   use with caution
   if there is an install script found in bin/install.sh in the finished release, it will be executed
   on extraction

Things it does (if you can't tell from the above)

  • Generates new apps from templates (see templates folder)
  • Creates boot scripts for easy execution of erlang apps
  • (Runs those apps)
  • Generates releases (self extracting self contained tars with relx)
  • That's it. Everthing else is Make.

vir's People

Contributors

robashton avatar srstrong avatar philipstears avatar

Watchers

Keith Thompson avatar James Cloos avatar

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.