Giter VIP home page Giter VIP logo

homebrew-stable's Introduction

Everscale Guild Homebrew tap

It is Homebrew tap for simple and convenient distribution of software for work and development on the Free TON network.

Homebrew — The Missing Package Manager for macOS or Linux or Windows 10 Subsystem for Linux, see more on the project website brew.sh.

Binary bottles are currently available only for:

  • x86_64_linux
  • catalina

FAQ

  1. What does brew tap mean?

You can ask a question in any language (do not limit yourself, for example use Esperanto).

Use

Install

Tap a formula repository:

brew tap EverscaleGuild/stable

Install software:

brew install everos-cli
brew install tvm-solc
brew install tvm-linker

Upgrade

brew upgrade

Develop

New Formula

Create new a formula

For help see brew create --help and Formula Cookbook.

brew create --tap EverscaleGuild/stable --set-name new-formula-name URL

Edit if need and testing

code $(brew --repository EverscaleGuild/stable)/Formula/new-formula-name.rb
brew test-bot --tap=EverscaleGuild/stable --only-tap-syntax
brew install --verbose ton-compiler

Create PR

cd $(brew --repository EverscaleGuild/stable)
git remote add self fork
git checkout -b add-new-formula-name
git add Formula/new-formula-name.rb
git commit -m "feat: add new-formula-name"
git push self add-new-formula-name

homebrew-stable's People

Contributors

ilyar avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ilyar

homebrew-stable's Issues

💡add ton-compiler

Dockerfile:

FROM ubuntu as build

# Requires
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -qqy update
RUN apt-get -qqy install cmake ninja-build g++ git python curl zlib1g cargo

# Code
RUN git clone --depth 100 https://github.com/tonlabs/ton-compiler.git /src
WORKDIR /src
ARG branch=master
RUN git checkout $branch

# Build
RUN mkdir -p \
 /dist/include \
 /dist/lib \
 /dist/bin \
 /src/build
WORKDIR /src/build
RUN cmake \
 -DCMAKE_INSTALL_PREFIX=/dist \
 -DCMAKE_BUILD_TYPE=Release \
 -G Ninja \
 -C ../cmake/Cache/ton-compiler.cmake \
 ../llvm
RUN ninja -j$(nproc)
RUN cmake --build . --target install-distribution
# TODO https://github.com/tonlabs/ton-compiler/blob/feb99416e1677ad76fd21345295792f14b5ae540/package.sh
# Check
RUN apt-get -qqy install tree && tree /dist

# Reliase
FROM ubuntu
COPY --from=build /dist/ /usr/local/
RUN mkdir -p /src
WORKDIR /src
CMD ["bash"]

Build:

docker build -t tonsoft/ton-compiler .

Use:

docker run --rm -it -v $(pwd):/src tonsoft/ton-compiler
ls /usr/local/bin

References:

ton-sdk: failed installing

brew install ton-sdk

Logs

brew install ton-sdk
==> Installing ton-sdk from tonsoft/stable
==> Cloning https://github.com/tonlabs/TON-SDK.git
Updating /home/user/.cache/Homebrew/ton-sdk--git
==> Checking out tag 1.3.0
Previous HEAD position was 44d7c39 Merge pull request #309 from tonlabs/1.5.2-rc
HEAD is now at 42b0a8e Merge pull request #287 from tonlabs/1.3.0-rc
HEAD is now at 42b0a8e Merge pull request #287 from tonlabs/1.3.0-rc
==> cargo build --release --target-dir target
Last 15 lines from /home/user/.cache/Homebrew/Logs/ton-sdk/01.cargo:
    Updating crates.io index
    Updating git repository `https://github.com/tonlabs/ton-labs-abi.git`
error: failed to get `ton_abi` as a dependency of package `ton_sdk v1.3.0 (/tmp/ton-sdk-20210126-112378-n775oj/ton_sdk)`

Caused by:
  failed to load source for dependency `ton_abi`

Caused by:
  Unable to update https://github.com/tonlabs/ton-labs-abi.git?branch=1.0.0-rc

Caused by:
  failed to find branch `1.0.0-rc`

Caused by:
  cannot locate remote-tracking branch 'origin/1.0.0-rc'; class=Reference (4); code=NotFound (-3)

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/tonsoft/homebrew-stable/issues

CI ⚙️ Build only linux if PR has status draft

name: Generator
on: [push, pull_request]
jobs:
    generator-jhipster:
        name: npm test
        runs-on: ${{ matrix.os }}
        if: >-
            !contains(github.event.head_commit.message, '[ci skip]') &&
            !contains(github.event.head_commit.message, '[skip ci]') &&
            !contains(github.event.pull_request.title, '[skip ci]') &&
            !contains(github.event.pull_request.title, '[ci skip]') &&
            (github.event.pull_request.draft == false || !contains(github.event.pull_request.labels.*.name, 'pr: skip-ci'))
        timeout-minutes: 20
        strategy:
            fail-fast: false
            matrix:
                node_version: [12.16.1]
                os: [ubuntu-latest]
        steps:
            - uses: actions/checkout@v2
            - uses: actions/setup-node@v1
              with:
                  node-version: ${{ matrix.node_version }}
            - run: git --no-pager log -n 10 --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue) <%an>%Creset' --abbrev-commit
              shell: bash
            - name: Config git variables
              env:
                  JHI_SCRIPTS: ./test-integration/scripts
              run: $JHI_SCRIPTS/04-git-config.sh
              shell: bash
            - run: npm ci
            - run: npm test

💡add ton-msig

Dockerfile:

FROM ubuntu as build

# Requires
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -qqy update
RUN apt-get -qqy install git gcc g++ make libssl-dev zlib1g-dev wget cmake ninja-build

# Code
ARG branch=1.0.0
RUN git clone https://github.com/broxus/ton-msig.git --recursive /src
WORKDIR /src
RUN git checkout $branch

# Build project
RUN mkdir -p \
 /dist/bin \
 /src/build
WORKDIR /src/build
RUN cmake \
 -DCMAKE_BUILD_TYPE=Release \
 -DBUILD_TESTING=OFF \
 -DTON_USE_ROCKSDB=OFF \
 -DTON_USE_ABSEIL=OFF \
 -DTON_USE_GDB=OFF \
 -DTON_USE_STACKTRACE=OFF \
 -G Ninja \
 ..
RUN ninja -j$(nproc)
RUN /src/build/bin/ton-msig --version

# Reliase
FROM ubuntu
RUN apt-get -qqy update &&\
    apt-get -qqy install openssl &&\
    apt-get clean
COPY --from=build /src/build/bin/ton-msig /usr/bin/ton-msig
ENTRYPOINT ["ton-msig"]
CMD ["--help"]

Build:

docker build -t tonsoft/ton-msig -f Dockerfile .
alias ton-msig="docker run --rm -it tonsoft/ton-msig"

Use:

ton-msig --help

References:

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.