GithubHelp home page GithubHelp logo

trevor-scheer / binary-install Goto Github PK

View Code? Open in Web Editor NEW

This project forked from everlastingbugstopper/binary-install

0.0 1.0 0.0 3.27 MB

Install binary applications via npm

JavaScript 76.28% Rust 23.72%

binary-install's Introduction

๐Ÿฆ€ binary-install monorepo

This repository contains two JavaScript packages orchestrated by Lerna, located in ./packages, and an example Rust binary in ./example-binary.

Project structure

./packages/binary-install

This package is published to npm as binary-install and provides convenience functions for distributing binaries via npm.

./packages/binary-install-example

This package is used to test binary-install and to show an example of a project that uses binary-install. It is configured to download pre-built binaries from the GitHub releases hosted in this repository.

./example-binary

This is a Rust package that simply takes some -c arguments, counts how many you passed, and prints the result to stdout. New versions can be automatically published to GitHub releases with the GitHub Actions workflows in this repository.

Maintenance

This project is maintained by me when I have time. This project has been built for my needs and my needs only, and I do not provide any guarantees on response time to issues or PRs. Not saying I won't accept contributions, they just may take a bit of time to see the light of day.

CI

This repository contains a few GitHub Actions workflows that help to automate code quality in this repository.

Lints

We use prettier to format the JS in this package. CI will run npm run fmt:check to make sure everything is in line. Before pushing up changes on a branch, you should make sure to run npm run fmt from the root of the repository to make sure that this check does not fail.

Tests

We use jest to run a few tests in binary-install. You can run npm test from the root of the repository to run these tests locally.

We use cargo to run a few tests in example-binary. You can run the tests with cargo test in the example-binary directory.

Release

We currently publish binary-install manually from the command line, but example-binary packages are published with the release_rust GitHub Actions workflow. Running git tag -a 'rust_v1.0.0' -m 'rust_v1.0.0' && git push --tags will kick this workflow off.

binary-install's People

Contributors

dependabot[bot] avatar everlastingbugstopper avatar mjbyrnes4664 avatar restyled-commits avatar trevor-scheer avatar trysound avatar woubuc avatar zaba505 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.