Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

How to build the mre cli

Prerequisite

  • Node.js installed

Install the pkg tool globaly to create executables which can run on linux, mac and windows.

npm install -g @yao-pkg/pkg

Install the packages

yarn workspaces focus @rentroo/cli

Run the pkg tool to create the mre executables

pkg cli/package.json --compress Brotli --output mre

Rename the linux and windows executables

mv mre-linux mre
mv mre-win.exe mre.exe

The mre cli is ready to use!