Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/melwyn95/esy-extra-sources-cache-tarball-test
https://github.com/melwyn95/esy-extra-sources-cache-tarball-test
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/melwyn95/esy-extra-sources-cache-tarball-test
- Owner: melwyn95
- License: mit
- Created: 2021-06-11T14:53:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-11T16:07:17.000Z (over 3 years ago)
- Last Synced: 2024-10-22T02:23:12.247Z (3 months ago)
- Language: JavaScript
- Size: 470 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# esy-extra-sources-cache-tarball-test
A project which demonstrates a Reason workflow with [Esy][].
[esy]: https://github.com/esy/esy
## Usage
You need Esy, you can install the beta using [npm](https://npmjs.com):
% npm install -g esy@latest
> NOTE: Make sure `esy --version` returns at least `0.5.8` for this project to build.
Then run the `esy` command from this project root to install and build depenencies.
% esy
Now you can run your editor within the environment (which also includes merlin):
% esy $EDITOR
% esy vimAlternatively you can try [vim-reasonml](https://github.com/jordwalke/vim-reasonml)
which loads esy project environments automatically.After you make some changes to source code, you can re-run project's build
again with the same simple `esy` command.% esy
And test compiled executable (runs `scripts.tests` specified in
`package.json`):% esy test
Documentation for the libraries in the project can be generated with:
% esy doc
% open-cli `esy echo '#{self.target_dir}/default/_doc/_html/index.html'`
This assumes you have a command like [open-cli](https://github.com/sindresorhus/open-cli) installed on your system.Shell into environment:
% esy shell
## Create Prebuilt Release:
`esy` allows creating prebuilt binary packages for your current platform, with
no dependencies.% esy npm-release
% cd _release
% npm publish