@rescriptuz/rescript-zx

0.0.1 • Public • Published

Rescript {Zx}

Bindings to zx for ReScript. Let's you write shell scripts in ReScript.

Installation

# Set Node version to latest
volta install node@lts

# Use pnpm preferably
volta install pnpm

# You may installer rescript globally
volta install rescript

# Install dependencies using pnpm
pnpm install

Usage

WIP

Commands (scripts)

  • Build: compile ReScript files

    • npm run res:build
    • pnpm run res:build
    • rescript
  • Clean: remove compiled Javascript files

    • npm run res:clean
    • pnpm run res:clean
    • rescript clean
  • Watch: watch ReScript files for changes and compile

    • npm run res:dev
    • pnpm run res:dev
    • rescript -w
  • Format: format ReScript files

    • npm run res:fmt
    • pnpm run res:fmt
    • rescript format -all
  • Start: run the compiled Javascript file

    • npm run start
    • pnpm run start

Rescript {Zx}

Readme

Keywords

Package Sidebar

Install

npm i @rescriptuz/rescript-zx

Weekly Downloads

3

Version

0.0.1

License

MIT

Unpacked Size

2.45 MB

Total Files

10

Last publish

Collaborators

  • shakhzodkudratov