GithubHelp home page GithubHelp logo

jaudiger / brioche Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brioche-dev/brioche

0.0 0.0 0.0 1.24 MB

A delicious package manager

Home Page: https://brioche.dev

License: MIT License

JavaScript 0.21% Rust 96.32% TypeScript 3.34% Makefile 0.13%

brioche's Introduction

Brioche

Brioche is a package manager and build tool for building and running your most complex software projects.

import * as std from "std";
import { cargoBuild } from "rust";

export default () => {
  // Build a Rust project
  const server = cargoBuild({
    crate: Brioche.glob("src", "Cargo.*"),
  });

  // Put it in a container image
  return std.ociContainerImage({
    recipe: server,
    entrypoint: ["/bin/server"],
  });
}

Features

  • Caching - All build artifacts are saved and re-used between builds, saving you time when only a part of your project changes. You can even share the cache between machines using a self-hosted registry
  • Lockfiles - All of your dependencies are automatically saved in a lockfile, making your builds super reliable for everyone on your team
  • TypeScript - Build scripts are written in TypeScript, giving you the flexibility of a familiar full programming language (with great type checking and editor completions!)
  • Cross-ecosystem - Build your project regardless of language, and easily mix different languages and ecosystems in one project
  • Cross-compilation (work in progress) - Easily build your project from any platform, to any platform
  • Dev environments (work in progress) - Set up a suite of tools to help onboard new team members quickly

Installation

Run this in your terminal for quick installation:

curl --proto '=https' --tlsv1.2 -sSfL 'https://brioche.dev/install.sh' | bash

...or check out the official docs on Installation more installation options.

To install from source, simply check out this repo and run cargo install --locked --path .. This will install Brioche into ~/.cargo/bin. You can also run it as a normal Rust project using cargo run.

Packages

See the brioche-packages repo for Brioche packages

brioche's People

Contributors

kylewlacy avatar jaudiger avatar matklad avatar pczarn 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.