0.0.1 • Published 1 month ago

@rescriptuz/rescript-zx v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

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
0.0.1

1 month ago

0.0.0

1 month ago