Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

refmterr

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

refmterr

Reason Formatting of Errors

latest
npmnpm
Version
3.3.2
Version published
Weekly downloads
21
-54.35%
Maintainers
2
Weekly downloads
 
Created
Source

refmterr: Reason Formatting of Errors for Native Builds.

Demo

Demo

Support

  • This is an esy compatible package.
  • Supports ocamlopt/ocamlc versions 4.02.3-4.05.

Usage

Package Builds:

Add a dependency on refmterr, and @opam/reason in your dependencies, and then you will be able to wrap your build commands with refmterr. For example, instead of using make build as your build command, use remfterr make build.

{
  "esy": {
    "build":  [
      ["refmterr make build"]
    ],
    ...
  },

  "dependencies": {
    "refmterr": "^3.0.0",
    "@opam/reason": "^3.0.0"
  }
}

Command Line Usage:

You can wrap any command that outputs ocamlopt/ocamlc error messages. For example, from your sandboxed project with the above package.json, you could run:

esy refmterr ocamlopt -pp refmt someFile.re

and have any errors/warnings printed more readably.

Contributing

  • Install the latest esy npm install -g esy.
  • git clone this repo, cd into it, then run:
esy install
esy build
esy ./runTests.sh

FAQs

Package last updated on 18 May 2020

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