Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CarlOlson/rescript-mode

 
 

Repository files navigation

rescript-mode

An Emacs major mode for ReScript.

This is based off of reason-mode. Support for ReasonML has been removed. This repo will only target ReScript v9 and be tested against Emacs 27.

Manual Installation

Install like any other Emacs package:

(add-to-list 'load-path "/path/to/this/repo")
(require 'rescript-mode)

Tests via Cask + ERT

The test folder contains tests that can be run via Cask. Once you install cask, if it is the first time run:

# First time setup
cask install

# Run all tests
cask exec ./run_tests.sh

# With verbose messages
DEBUG=t cask exec ./run_tests.sh

# Or run only one test
cask exec ./run_tests.sh <test-selector>
DEBUG=t cask exec ./run_tests.sh <test-selector>

# However, you probably don't need Cask:
./run_tests.sh

License

rescript-mode is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-MIT and LICENSE-APACHE for details.

About

Emacs major mode for working with ReasonML

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Emacs Lisp 95.6%
  • Shell 4.4%