Socket
Book a DemoInstallSign in
Socket

switchx

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

switchx

Switch Haxe versions like a sir.

0.14.6
latest
Source
npmnpm
Version published
Weekly downloads
3
-75%
Maintainers
2
Weekly downloads
 
Created
Source

Gitter

switchx - Switch Haxe versions like a sir.

This little tool is based on haxeshim to switch between coexisting Haxe versions. As for usage, the command line doc pretty much says it all:

switchx - haxe version switcher

  Supported commands:

            install [<version>] : installs the version if specified, otherwise
                                  installs the currently configured version
             download <version> : downloads the specified version
                  use <version> : switches to the specified version
      scope [create|delete|set] : creates, deletes or configures
         [scoped|mixed|haxelib]   the current scope or inspects it
                                  if no argument is supplied
                           list : lists currently downloaded versions

  Supported switches

                       --silent : disables logging
                       --global : performs operation on global scope
                        --force : forces re-download

  Version aliases

                  edge, nightly : latest nightly build from builds.haxe.org
                         latest : latest official release from haxe.org
                         stable : latest stable release from haxe.org              

Note that in switch version aliases refer to the latest installed version of that kind while otherwise they refer to the latest version found online. Please refer to the haxeshim doc for library resolution strategies

Installation

Not as smooth as it could be, but npm install haxeshim -g && npm install switchx -g && switchx basically kind of does it.

OS support

For the most parts, please refer to the haxeshim documentation. Note though that currently on linux the 64 bit version is always installed. This is a matter of initializing Switchx.PLATFORM right.

Building

Ah, here comes the fun part. The simplest way right now is to:

  • install switchx first (through npm)
  • clone the source recursively and then run switchx install in the checked out directory
  • install node dependencies with npm install
  • build with haxe switchx.hxml.

Keywords

haxe

FAQs

Package last updated on 19 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.