Code Monkey home page Code Monkey logo

elixir-current-snap's Introduction

Purpose

This repository contains scripts to automate task of building -current version of Elixir and trying it out along with regular Elixir installation.

All build process is done in VM in order not to contaminate host system with development packages. Snapcraft installs packages necessary for building in host environment, which may intervene with normally installed packages.

Elixir build into snap in order to allow clean install/uninstall of testing versions.

Docker is not quite suitable, because it had problems running snapd inside it (in order to install core snap), that's why Vagrant is used.

Prerequisites

  • recent version of Vagrant
  • snapd installed on the system
  • Elixir snap expects latest version of Erlang to be installed on host system

Builging snap

To build or rebuild package simply run vagrant up in current directory. Output of the build will be in snap/elixir-current_dev_amd64.snap file.

Installing snap

To install snap package use following command:

sudo snap install --dangerous --classic snap/elixir-current_dev_amd64.snap

Please note that it uses classical confinement in ordet to give mix access to git and other locally installed tools. This means it is not isolated in snap directory, but can access all your system information.

--dangerous necessary to allow installation of unsigned snaps.

Running

Use there commands (available under /snap/bin/ path):

  • elixir-current.elixir
  • elixir-current.elixirc
  • elixir-current.iex
  • elixir-current.mix

elixir-current-snap's People

Stargazers

 avatar  avatar

Watchers

 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.