Skip to content

Commit

Permalink
rebar dep removed & changelog scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Dec 8, 2020
1 parent c7756ea commit 2709640
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ WORKDIR /code
RUN apt-get update && apt-get -y install python procps autoconf libtool libgmp3-dev git curl make build-essential && \
curl https://get.volta.sh | bash

ENV PATH=$PATH:/root/.volta/bin
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y

ENV PATH=$PATH:/root/.volta/bin:/root/.cargo/bin

RUN volta install node@8.17

ADD ["package.json", "package-lock.json", "/code/"]

RUN npm install

ADD ["mix.lock", "mix.exs", "rebar.config", "/code/"]
ADD ["mix.lock", "mix.exs", "/code/"]

RUN echo "y" | mix local.hex --if-missing && echo "y" | mix local.rebar --if-missing

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ defmodule Eth.Mixfile do
[
{:ethereumex, "~> 0.6.0"},
{:ex_rlp, "~> 0.5.3"},
{:ex_doc, ">= 0.0.0", only: :dev},
{:ex_doc, ">= 0.23.0", only: :dev},
{:dialyxir, "~> 1.0.0", only: [:dev], runtime: false},
{:hexate, "~> 0.6.1"},
{:ex_keccak, "~> 0.1.2"},
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"main": "index.js",
"scripts": {
"changelog:unreleased": "node_modules/.bin/auto-changelog --stdout --commit-limit false --package --unreleased-only --hide-credit",
"changelog:preview": "node_modules/.bin/auto-changelog --stdout --commit-limit false --package -u",
"changelog:update": "node_modules/.bin/auto-changelog --commit-limit false --package",
"release:alpha": "node_modules/.bin/release-it --preRelease=alpha --no-npm.publish && MIX_ENV=dev mix hex.publish --yes",
Expand All @@ -37,7 +38,7 @@
}
},
"git": {
"changelog": "npm run changelog:preview"
"changelog": "npm run changelog:unreleased"
},
"github": {
"release": true
Expand Down
3 changes: 0 additions & 3 deletions rebar.config

This file was deleted.

0 comments on commit 2709640

Please # to comment.