Compare commits
25 commits
Author | SHA1 | Date | |
---|---|---|---|
e45cef3761 | |||
459a6c9965 | |||
6b87cc5946 | |||
4868e69c54 | |||
158c3409e7 | |||
ef2c7e5f6d | |||
ce8888710d | |||
5d7941531b | |||
31fefcb643 | |||
b57a4e2863 | |||
379252520e | |||
c09b8c7b3b | |||
efa021e70d | |||
4146699138 | |||
c9001cbabe | |||
cf446bed5a | |||
c5d009ceb4 | |||
4c118d9e39 | |||
b7541753e0 | |||
5d4a4c2961 | |||
ff9cd8a75a | |||
744d2d125e | |||
4294cd1a93 | |||
48d093effc | |||
fe9f5de7a1 |
9 changed files with 449 additions and 179 deletions
382
.drone.yml
Normal file
382
.drone.yml
Normal file
|
@ -0,0 +1,382 @@
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: build
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: restore ASDF cache
|
||||||
|
image: meltwater/drone-cache
|
||||||
|
pull: "always"
|
||||||
|
environment:
|
||||||
|
AWS_ACCESS_KEY_ID:
|
||||||
|
from_secret: ACCESS_KEY_ID
|
||||||
|
AWS_SECRET_ACCESS_KEY:
|
||||||
|
from_secret: SECRET_ACCESS_KEY
|
||||||
|
AWS_PLUGIN_PATH_STYLE: true
|
||||||
|
settings:
|
||||||
|
restore: true
|
||||||
|
endpoint:
|
||||||
|
from_secret: S3_ENDPOINT
|
||||||
|
bucket:
|
||||||
|
from_secret: CACHE_BUCKET
|
||||||
|
region: us-east-1
|
||||||
|
path-style: true
|
||||||
|
cache_key: 'asdf-{{ os }}-{{ arch }}-{{ checksum ".tool-versions" }}'
|
||||||
|
mount:
|
||||||
|
- .asdf
|
||||||
|
|
||||||
|
- name: restore build cache
|
||||||
|
image: meltwater/drone-cache
|
||||||
|
environment:
|
||||||
|
AWS_ACCESS_KEY_ID:
|
||||||
|
from_secret: ACCESS_KEY_ID
|
||||||
|
AWS_SECRET_ACCESS_KEY:
|
||||||
|
from_secret: SECRET_ACCESS_KEY
|
||||||
|
AWS_PLUGIN_PATH_STYLE: true
|
||||||
|
settings:
|
||||||
|
restore: true
|
||||||
|
endpoint:
|
||||||
|
from_secret: S3_ENDPOINT
|
||||||
|
bucket:
|
||||||
|
from_secret: CACHE_BUCKET
|
||||||
|
region: us-east-1
|
||||||
|
path-style: true
|
||||||
|
cache_key: 'elixir-{{ checksum "mix.lock" }}-{{ checksum ".tool-versions" }}'
|
||||||
|
mount:
|
||||||
|
- deps
|
||||||
|
- _build
|
||||||
|
- .hex
|
||||||
|
- .mix
|
||||||
|
- .rebar3
|
||||||
|
|
||||||
|
- name: install dependencies
|
||||||
|
image: harton.dev/james/asdf_container:latest
|
||||||
|
pull: "always"
|
||||||
|
environment:
|
||||||
|
MIX_ENV: test
|
||||||
|
HEX_HOME: /drone/src/.hex
|
||||||
|
MIX_HOME: /drone/src/.mix
|
||||||
|
REBAR_BASE_DIR: /drone/src/.rebar3
|
||||||
|
ASDF_DATA_DIR: /drone/src/.asdf
|
||||||
|
ASDF_DIR: /root/.asdf
|
||||||
|
depends_on:
|
||||||
|
- restore ASDF cache
|
||||||
|
- restore build cache
|
||||||
|
commands:
|
||||||
|
- asdf_install
|
||||||
|
- rm -rf .asdf/downloads
|
||||||
|
- . $ASDF_DIR/asdf.sh
|
||||||
|
- mix local.hex --if-missing --force
|
||||||
|
- mix local.rebar --if-missing --force
|
||||||
|
- mix deps.get
|
||||||
|
- mix deps.compile
|
||||||
|
- mix dialyzer --plt
|
||||||
|
|
||||||
|
- name: store ASDF cache
|
||||||
|
image: meltwater/drone-cache
|
||||||
|
environment:
|
||||||
|
AWS_ACCESS_KEY_ID:
|
||||||
|
from_secret: ACCESS_KEY_ID
|
||||||
|
AWS_SECRET_ACCESS_KEY:
|
||||||
|
from_secret: SECRET_ACCESS_KEY
|
||||||
|
AWS_PLUGIN_PATH_STYLE: true
|
||||||
|
depends_on:
|
||||||
|
- install dependencies
|
||||||
|
settings:
|
||||||
|
rebuild: true
|
||||||
|
override: false
|
||||||
|
endpoint:
|
||||||
|
from_secret: S3_ENDPOINT
|
||||||
|
bucket:
|
||||||
|
from_secret: CACHE_BUCKET
|
||||||
|
region: us-east-1
|
||||||
|
path-style: true
|
||||||
|
cache_key: 'asdf-{{ os }}-{{ arch }}-{{ checksum ".tool-versions" }}'
|
||||||
|
mount:
|
||||||
|
- .asdf
|
||||||
|
|
||||||
|
- name: store build cache
|
||||||
|
image: meltwater/drone-cache
|
||||||
|
environment:
|
||||||
|
AWS_ACCESS_KEY_ID:
|
||||||
|
from_secret: ACCESS_KEY_ID
|
||||||
|
AWS_SECRET_ACCESS_KEY:
|
||||||
|
from_secret: SECRET_ACCESS_KEY
|
||||||
|
AWS_PLUGIN_PATH_STYLE: true
|
||||||
|
depends_on:
|
||||||
|
- install dependencies
|
||||||
|
settings:
|
||||||
|
rebuild: true
|
||||||
|
override: false
|
||||||
|
endpoint:
|
||||||
|
from_secret: S3_ENDPOINT
|
||||||
|
bucket:
|
||||||
|
from_secret: CACHE_BUCKET
|
||||||
|
region: us-east-1
|
||||||
|
path-style: true
|
||||||
|
cache_key: 'elixir-{{ checksum "mix.lock" }}-{{ checksum ".tool-versions" }}'
|
||||||
|
mount:
|
||||||
|
- deps
|
||||||
|
- _build
|
||||||
|
- .hex
|
||||||
|
- .mix
|
||||||
|
- .rebar3
|
||||||
|
|
||||||
|
- name: mix compile
|
||||||
|
image: harton.dev/james/asdf_container:latest
|
||||||
|
environment:
|
||||||
|
MIX_ENV: test
|
||||||
|
HEX_HOME: /drone/src/.hex
|
||||||
|
MIX_HOME: /drone/src/.mix
|
||||||
|
REBAR_BASE_DIR: /drone/src/.rebar3
|
||||||
|
ASDF_DATA_DIR: /drone/src/.asdf
|
||||||
|
depends_on:
|
||||||
|
- install dependencies
|
||||||
|
commands:
|
||||||
|
- asdf mix compile --warnings-as-errors
|
||||||
|
|
||||||
|
- name: mix test
|
||||||
|
image: harton.dev/james/asdf_container:latest
|
||||||
|
environment:
|
||||||
|
MIX_ENV: test
|
||||||
|
HEX_HOME: /drone/src/.hex
|
||||||
|
MIX_HOME: /drone/src/.mix
|
||||||
|
REBAR_BASE_DIR: /drone/src/.rebar3
|
||||||
|
ASDF_DATA_DIR: /drone/src/.asdf
|
||||||
|
depends_on:
|
||||||
|
- mix compile
|
||||||
|
commands:
|
||||||
|
- asdf mix test
|
||||||
|
|
||||||
|
- name: mix credo
|
||||||
|
image: harton.dev/james/asdf_container:latest
|
||||||
|
environment:
|
||||||
|
MIX_ENV: test
|
||||||
|
HEX_HOME: /drone/src/.hex
|
||||||
|
MIX_HOME: /drone/src/.mix
|
||||||
|
REBAR_BASE_DIR: /drone/src/.rebar3
|
||||||
|
ASDF_DATA_DIR: /drone/src/.asdf
|
||||||
|
depends_on:
|
||||||
|
- mix compile
|
||||||
|
commands:
|
||||||
|
- asdf mix credo --strict
|
||||||
|
|
||||||
|
- name: mix dialyzer
|
||||||
|
image: harton.dev/james/asdf_container:latest
|
||||||
|
environment:
|
||||||
|
MIX_ENV: test
|
||||||
|
HEX_HOME: /drone/src/.hex
|
||||||
|
MIX_HOME: /drone/src/.mix
|
||||||
|
REBAR_BASE_DIR: /drone/src/.rebar3
|
||||||
|
ASDF_DATA_DIR: /drone/src/.asdf
|
||||||
|
depends_on:
|
||||||
|
- mix compile
|
||||||
|
commands:
|
||||||
|
- asdf mix dialyzer
|
||||||
|
|
||||||
|
- name: mix hex.audit
|
||||||
|
image: harton.dev/james/asdf_container:latest
|
||||||
|
environment:
|
||||||
|
MIX_ENV: test
|
||||||
|
HEX_HOME: /drone/src/.hex
|
||||||
|
MIX_HOME: /drone/src/.mix
|
||||||
|
REBAR_BASE_DIR: /drone/src/.rebar3
|
||||||
|
ASDF_DATA_DIR: /drone/src/.asdf
|
||||||
|
depends_on:
|
||||||
|
- mix compile
|
||||||
|
commands:
|
||||||
|
- asdf mix hex.audit
|
||||||
|
|
||||||
|
- name: mix format
|
||||||
|
image: harton.dev/james/asdf_container:latest
|
||||||
|
environment:
|
||||||
|
MIX_ENV: test
|
||||||
|
HEX_HOME: /drone/src/.hex
|
||||||
|
MIX_HOME: /drone/src/.mix
|
||||||
|
REBAR_BASE_DIR: /drone/src/.rebar3
|
||||||
|
ASDF_DATA_DIR: /drone/src/.asdf
|
||||||
|
depends_on:
|
||||||
|
- mix compile
|
||||||
|
commands:
|
||||||
|
- asdf mix format --check-formatted
|
||||||
|
|
||||||
|
- name: mix deps.unlock
|
||||||
|
image: harton.dev/james/asdf_container:latest
|
||||||
|
environment:
|
||||||
|
MIX_ENV: test
|
||||||
|
HEX_HOME: /drone/src/.hex
|
||||||
|
MIX_HOME: /drone/src/.mix
|
||||||
|
REBAR_BASE_DIR: /drone/src/.rebar3
|
||||||
|
ASDF_DATA_DIR: /drone/src/.asdf
|
||||||
|
depends_on:
|
||||||
|
- mix compile
|
||||||
|
commands:
|
||||||
|
- asdf mix deps.unlock --check-unused
|
||||||
|
|
||||||
|
- name: mix doctor
|
||||||
|
image: harton.dev/james/asdf_container:latest
|
||||||
|
environment:
|
||||||
|
MIX_ENV: test
|
||||||
|
HEX_HOME: /drone/src/.hex
|
||||||
|
MIX_HOME: /drone/src/.mix
|
||||||
|
REBAR_BASE_DIR: /drone/src/.rebar3
|
||||||
|
ASDF_DATA_DIR: /drone/src/.asdf
|
||||||
|
depends_on:
|
||||||
|
- mix compile
|
||||||
|
commands:
|
||||||
|
- asdf mix doctor --full
|
||||||
|
|
||||||
|
- name: mix git_ops.check_message
|
||||||
|
image: harton.dev/james/asdf_container:latest
|
||||||
|
environment:
|
||||||
|
MIX_ENV: test
|
||||||
|
HEX_HOME: /drone/src/.hex
|
||||||
|
MIX_HOME: /drone/src/.mix
|
||||||
|
REBAR_BASE_DIR: /drone/src/.rebar3
|
||||||
|
ASDF_DATA_DIR: /drone/src/.asdf
|
||||||
|
depends_on:
|
||||||
|
- mix compile
|
||||||
|
commands:
|
||||||
|
- git log -1 --format=%s > .last_commit_message
|
||||||
|
- asdf mix git_ops.check_message .last_commit_message
|
||||||
|
|
||||||
|
- name: mix git_ops.release
|
||||||
|
image: harton.dev/james/asdf_container:latest
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
exclude:
|
||||||
|
- pull_request
|
||||||
|
depends_on:
|
||||||
|
- mix test
|
||||||
|
- mix credo
|
||||||
|
- mix dialyzer
|
||||||
|
- mix hex.audit
|
||||||
|
- mix format
|
||||||
|
- mix deps.unlock
|
||||||
|
- mix doctor
|
||||||
|
- mix git_ops.check_message
|
||||||
|
environment:
|
||||||
|
MIX_ENV: test
|
||||||
|
HEX_HOME: /drone/src/.hex
|
||||||
|
MIX_HOME: /drone/src/.mix
|
||||||
|
REBAR_BASE_DIR: /drone/src/.rebar3
|
||||||
|
ASDF_DATA_DIR: /drone/src/.asdf
|
||||||
|
ASDF_DIR: /root/.asdf
|
||||||
|
DRONE_TOKEN:
|
||||||
|
from_secret: DRONE_TOKEN
|
||||||
|
commands:
|
||||||
|
- git fetch --tags
|
||||||
|
- . $ASDF_DIR/asdf.sh
|
||||||
|
- mix git_ops.project_info --format=shell > before.env
|
||||||
|
- mix git_ops.release --yes --no-major || true
|
||||||
|
- mix git_ops.project_info --format=shell > after.env
|
||||||
|
- . ./before.env
|
||||||
|
- export OLD_APP_VERSION=$${APP_VERSION}
|
||||||
|
- . ./after.env
|
||||||
|
- export NEW_APP_VERSION=$${APP_VERSION}
|
||||||
|
- if [ "v$${OLD_APP_VERSION}" != "v$${NEW_APP_VERSION}" ]; then
|
||||||
|
- export GIT_URL=$(echo $DRONE_GIT_HTTP_URL | sed -e "s/:\\/\\//:\\/\\/$DRONE_REPO_OWNER:$DRONE_TOKEN@/")
|
||||||
|
- git push $${GIT_URL} "HEAD:${DRONE_COMMIT_REF}" "refs/tags/v$${NEW_APP_VERSION}"
|
||||||
|
- fi
|
||||||
|
|
||||||
|
- name: build artifacts
|
||||||
|
image: harton.dev/james/asdf_container:latest
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
refs:
|
||||||
|
include:
|
||||||
|
- refs/tags/v*
|
||||||
|
depends_on:
|
||||||
|
- mix test
|
||||||
|
- mix credo
|
||||||
|
- mix dialyzer
|
||||||
|
- mix hex.audit
|
||||||
|
- mix format
|
||||||
|
- mix deps.unlock
|
||||||
|
- mix doctor
|
||||||
|
- mix git_ops.check_message
|
||||||
|
environment:
|
||||||
|
MIX_ENV: test
|
||||||
|
HEX_HOME: /drone/src/.hex
|
||||||
|
MIX_HOME: /drone/src/.mix
|
||||||
|
REBAR_BASE_DIR: /drone/src/.rebar3
|
||||||
|
ASDF_DATA_DIR: /drone/src/.asdf
|
||||||
|
ASDF_DIR: /root/.asdf
|
||||||
|
commands:
|
||||||
|
- . $ASDF_DIR/asdf.sh
|
||||||
|
- mix git_ops.project_info --format=shell > app.env
|
||||||
|
- . ./app.env
|
||||||
|
- mkdir artifacts
|
||||||
|
- mix hex.build -o "artifacts/$${APP_NAME}-$${APP_VERSION}-pkg.tar"
|
||||||
|
- gzip "artifacts/$${APP_NAME}-$${APP_VERSION}-pkg.tar"
|
||||||
|
- mix docs
|
||||||
|
- tar zcvf "artifacts/$${APP_NAME}-$${APP_VERSION}-docs.tar.gz" doc/
|
||||||
|
- git tag -l --format='%(contents:subject)' v$${APP_VERSION} > tag_subject
|
||||||
|
- git tag -l --format='%(contents:body)' v$${APP_VERSION} > tag_body
|
||||||
|
|
||||||
|
- name: gitea release
|
||||||
|
image: plugins/gitea-release
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
refs:
|
||||||
|
include:
|
||||||
|
- refs/tags/v*
|
||||||
|
depends_on:
|
||||||
|
- build artifacts
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: DRONE_TOKEN
|
||||||
|
base_url: https://harton.dev
|
||||||
|
files: artifacts/*.tar.gz
|
||||||
|
checksum: sha256
|
||||||
|
title: tag_subject
|
||||||
|
note: tag_body
|
||||||
|
|
||||||
|
- name: docs release
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
refs:
|
||||||
|
include:
|
||||||
|
- refs/tags/v*
|
||||||
|
image: minio/mc
|
||||||
|
environment:
|
||||||
|
S3_ENDPOINT:
|
||||||
|
from_secret: S3_ENDPOINT
|
||||||
|
ACCESS_KEY:
|
||||||
|
from_secret: ACCESS_KEY_ID
|
||||||
|
SECRET_KEY:
|
||||||
|
from_secret: SECRET_ACCESS_KEY
|
||||||
|
depends_on:
|
||||||
|
- build artifacts
|
||||||
|
commands:
|
||||||
|
- mc alias set store $${S3_ENDPOINT} $${ACCESS_KEY} $${SECRET_KEY}
|
||||||
|
- mc mb -p store/docs.harton.nz
|
||||||
|
- mc mirror --overwrite doc/ store/docs.harton.nz/$${DRONE_REPO}/$${DRONE_TAG}
|
||||||
|
- mc mirror --overwrite doc/ store/docs.harton.nz/$${DRONE_REPO}
|
||||||
|
|
||||||
|
- name: hex release
|
||||||
|
image: harton.dev/james/asdf_container:latest
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
refs:
|
||||||
|
include:
|
||||||
|
- refs/tags/v*
|
||||||
|
depends_on:
|
||||||
|
- build artifacts
|
||||||
|
environment:
|
||||||
|
MIX_ENV: test
|
||||||
|
HEX_HOME: /drone/src/.hex
|
||||||
|
MIX_HOME: /drone/src/.mix
|
||||||
|
REBAR_BASE_DIR: /drone/src/.rebar3
|
||||||
|
ASDF_DATA_DIR: /drone/src/.asdf
|
||||||
|
ASDF_DIR: /root/.asdf
|
||||||
|
HEX_API_KEY:
|
||||||
|
from_secret: HEX_API_KEY
|
||||||
|
commands:
|
||||||
|
- . $ASDF_DIR/asdf.sh
|
||||||
|
- mix hex.publish --yes
|
139
.gitlab-ci.yml
139
.gitlab-ci.yml
|
@ -1,139 +0,0 @@
|
||||||
stages:
|
|
||||||
- build
|
|
||||||
- test
|
|
||||||
- release
|
|
||||||
|
|
||||||
variables:
|
|
||||||
MIX_ENV: "test"
|
|
||||||
PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/"
|
|
||||||
HEX_HOME: "$CI_PROJECT_DIR/.hex"
|
|
||||||
MIX_HOME: "$CI_PROJECT_DIR/.mix"
|
|
||||||
|
|
||||||
build:
|
|
||||||
image: elixir:latest
|
|
||||||
stage: build
|
|
||||||
cache:
|
|
||||||
key: "$CI_JOB_NAME"
|
|
||||||
paths:
|
|
||||||
- deps
|
|
||||||
- _build
|
|
||||||
- .hex
|
|
||||||
- .mix
|
|
||||||
script:
|
|
||||||
- mix local.hex --force
|
|
||||||
- mix local.rebar --force
|
|
||||||
- mix deps.get
|
|
||||||
- mix deps.compile
|
|
||||||
- mix git_ops.project_info -f dotenv > project_info.env
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- _build/
|
|
||||||
- deps/
|
|
||||||
- .hex
|
|
||||||
- .mix
|
|
||||||
reports:
|
|
||||||
dotenv: project_info.env
|
|
||||||
|
|
||||||
test:
|
|
||||||
image: elixir:latest
|
|
||||||
dependencies:
|
|
||||||
- build
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- mix test
|
|
||||||
|
|
||||||
credo:
|
|
||||||
image: elixir:latest
|
|
||||||
dependencies:
|
|
||||||
- build
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- mix credo
|
|
||||||
|
|
||||||
audit:
|
|
||||||
image: elixir:latest
|
|
||||||
dependencies:
|
|
||||||
- build
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- mix hex.audit
|
|
||||||
|
|
||||||
format:
|
|
||||||
image: elixir:latest
|
|
||||||
dependencies:
|
|
||||||
- build
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- mix format --check-formatted
|
|
||||||
|
|
||||||
pages:
|
|
||||||
image: elixir:latest
|
|
||||||
dependencies:
|
|
||||||
- build
|
|
||||||
stage: release
|
|
||||||
script:
|
|
||||||
- mix docs -o public
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- public
|
|
||||||
only:
|
|
||||||
- main
|
|
||||||
|
|
||||||
git_ops:
|
|
||||||
image: elixir:latest
|
|
||||||
dependencies:
|
|
||||||
- build
|
|
||||||
stage: release
|
|
||||||
only:
|
|
||||||
refs:
|
|
||||||
- main
|
|
||||||
except:
|
|
||||||
variables:
|
|
||||||
- $CI_COMMIT_MESSAGE =~ /chore\:\ release version/
|
|
||||||
script:
|
|
||||||
- |
|
|
||||||
export OLD_APP_VERSION=$APP_VERSION
|
|
||||||
mkdir -p artifacts
|
|
||||||
git config --global user.name "Gitlab Runner for ${GITLAB_USER_NAME}"
|
|
||||||
git config --global user.email "${GITLAB_USER_EMAIL}"
|
|
||||||
mix git_ops.release --yes || true
|
|
||||||
mix git_ops.project_info -f shell > artifacts/env
|
|
||||||
source artifacts/env
|
|
||||||
if [ "v${OLD_APP_VERSION}" != "v${APP_VERSION}" ]; then
|
|
||||||
mix hex.build -o "artifacts/${APP_NAME}-${APP_VERSION}.tar"
|
|
||||||
gzip "artifacts/${APP_NAME}-${APP_VERSION}.tar"
|
|
||||||
mix docs && tar zcvf "artifacts/${APP_NAME}-${APP_VERSION}-docs.tar.gz" doc/
|
|
||||||
curl --header "JOB_TOKEN: ${CI_JOB_TOKEN}" --upload-file "artifacts/${APP_NAME}-${APP_VERSION}.tar.gz" "${PACKAGE_REGISTRY_URL}/${APP_NAME}/${APP_VERSION}/${APP_NAME}-${APP_VERSION}.tar.gz"
|
|
||||||
curl --header "JOB_TOKEN: ${CI_JOB_TOKEN}" --upload-file "artifacts/${APP_NAME}-${APP_VERSION}-docs.tar.gz" "${PACKAGE_REGISTRY_URL}/${APP_NAME}/${APP_VERSION}/${APP_NAME}-${APP_VERSION}-docs.tar.gz"
|
|
||||||
git push "https://project_${CI_PROJECT_ID}_bot:${RELEASE_TOKEN}@gitlab.com/${CI_PROJECT_PATH}.git" "HEAD:${CI_COMMIT_REF_NAME}" "refs/tags/v${APP_VERSION}"
|
|
||||||
fi
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- artifacts/*
|
|
||||||
|
|
||||||
release-gitlab:
|
|
||||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
|
||||||
dependencies:
|
|
||||||
- build
|
|
||||||
stage: release
|
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
- /^v\d+\.\d+\.\d+(-\w+)?$/
|
|
||||||
script:
|
|
||||||
- release-cli create \
|
|
||||||
--name "Release ${APP_NAME} ${APP_VERSION}" \
|
|
||||||
--description "./CHANGELOG.md" \
|
|
||||||
--tag-name "v${APP_VERSION}" \
|
|
||||||
--assets-link "{\"name\":\"${APP_NAME}-${APP_VERSION}.tar.gz\",\"url\":\"${PACKAGE_REGISTRY_URL}/${APP_NAME}/${APP_VERSION}/${APP_NAME}-${APP_VERSION}.tar.gz\"}" \
|
|
||||||
--assets-link "{\"name\":\"${APP_NAME}-${APP_VERSION}-docs.tar.gz\",\"url\":\"${PACKAGE_REGISTRY_URL}/${APP_NAME}/${APP_VERSION}/${APP_NAME}-${APP_VERSION}-docs.tar.gz\"}"
|
|
||||||
|
|
||||||
release-hex:
|
|
||||||
image: elixir:latest
|
|
||||||
dependencies:
|
|
||||||
- build
|
|
||||||
stage: release
|
|
||||||
only:
|
|
||||||
- tags
|
|
||||||
- /^v\d+\.\d+\.\d+(-\w+)?$/
|
|
||||||
script:
|
|
||||||
- mix hex.publish --yes
|
|
2
.tool-versions
Normal file
2
.tool-versions
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
erlang 27.1
|
||||||
|
elixir 1.17.3
|
17
CHANGELOG.md
17
CHANGELOG.md
|
@ -5,14 +5,15 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
|
||||||
|
|
||||||
<!-- changelog -->
|
<!-- changelog -->
|
||||||
|
|
||||||
## [v1.0.0](https://gitlab.com/jimsy/ease.ex/compare/v0.2.0...v1.0.0) (2023-01-16)
|
## [v1.0.1](https://harton.dev/james/ease/compare/v1.0.0...v1.0.1) (2024-02-22)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [v1.0.0](https://harton.dev/james/ease/compare/v0.2.0...v1.0.0) (2023-01-16)
|
||||||
|
|
||||||
### Breaking Changes:
|
### Breaking Changes:
|
||||||
|
|
||||||
* Relicense to HL3-FULL.
|
- Relicense to HL3-FULL.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## [v0.2.0](https://gitlab.com/jimsy/ease.ex/compare/v0.2.0...v0.2.0) (2020-12-28)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## [v0.2.0](https://harton.dev/james/ease/compare/v0.2.0...v0.2.0) (2020-12-28)
|
||||||
|
|
26
README.md
26
README.md
|
@ -1,6 +1,6 @@
|
||||||
# Ease
|
# Ease
|
||||||
|
|
||||||
[![pipeline status](https://gitlab.com/jimsy/ease/badges/main/pipeline.svg)](https://gitlab.com/jimsy/ease/commits/main)
|
[![Build Status](https://drone.harton.dev/api/badges/james/ease/status.svg?ref=refs/heads/main)](https://drone.harton.dev/james/ease)
|
||||||
[![Hex.pm](https://img.shields.io/hexpm/v/ease.svg)](https://hex.pm/packages/ease)
|
[![Hex.pm](https://img.shields.io/hexpm/v/ease.svg)](https://hex.pm/packages/ease)
|
||||||
[![Hippocratic License HL3-FULL](https://img.shields.io/static/v1?label=Hippocratic%20License&message=HL3-FULL&labelColor=5e2751&color=bc8c3d)](https://firstdonoharm.dev/version/3/0/full.html)
|
[![Hippocratic License HL3-FULL](https://img.shields.io/static/v1?label=Hippocratic%20License&message=HL3-FULL&labelColor=5e2751&color=bc8c3d)](https://firstdonoharm.dev/version/3/0/full.html)
|
||||||
|
|
||||||
|
@ -12,29 +12,33 @@ animations) take a look at [easings.net](http://easings.net)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
[Available in Hex](https://hex.pm/packages/ease), the package can be installed
|
Ease is [available in Hex](https://hex.pm/packages/ease), the package can be installed
|
||||||
by adding `ease` to your list of dependencies in `mix.exs`:
|
by adding `ease` to your list of dependencies in `mix.exs`:
|
||||||
|
|
||||||
```elixir
|
```elixir
|
||||||
def deps do
|
def deps do
|
||||||
[{:ease, "~> 1.0.0"}]
|
[
|
||||||
|
{:ease, "~> 1.0.1"}
|
||||||
|
]
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
Documentation can be found at [https://hexdocs.pm/ease](https://hexdocs.pm/ease).
|
Documentation for the latest release can be found on
|
||||||
|
[HexDocs](https://hexdocs.pm/ease) and for the `main` branch on
|
||||||
|
[docs.harton.nz](https://docs.harton.nz/james/ease).
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
You can use an easing function directly from within your own loop, provided
|
You can use an easing function directly from within your own loop, provided
|
||||||
that you can supply the four arguments needed;
|
that you can supply the four arguments needed;
|
||||||
|
|
||||||
* `current_time` - the elapsed "time" in the loop, ie if your `duration` is
|
- `current_time` - the elapsed "time" in the loop, ie if your `duration` is
|
||||||
ten, and you want to find the position for half way through the duration
|
ten, and you want to find the position for half way through the duration
|
||||||
then you set it to `5`. Units are arbitrary (steps, ms, whatever).
|
then you set it to `5`. Units are arbitrary (steps, ms, whatever).
|
||||||
* `start_value` - the initial value or position at `current_time` of zero.
|
- `start_value` - the initial value or position at `current_time` of zero.
|
||||||
* `change_in_value`- how much the `start_value` should be changed by the end
|
- `change_in_value`- how much the `start_value` should be changed by the end
|
||||||
of the animation, ie the expected final value minus the `start_value`.
|
of the animation, ie the expected final value minus the `start_value`.
|
||||||
* `duration` - the duration of the animation, in the same units as `current_time`.
|
- `duration` - the duration of the animation, in the same units as `current_time`.
|
||||||
|
|
||||||
Given a quadratic ease-in of `1..10`, over 1 unit of time, where would we be
|
Given a quadratic ease-in of `1..10`, over 1 unit of time, where would we be
|
||||||
when half-way through:
|
when half-way through:
|
||||||
|
@ -52,6 +56,12 @@ Plot the `{x, y}` positions for a circular ease-in:
|
||||||
{3.291796067500631, 7}, {4.34314575050762, 8}, {5.876894374382339, 9},
|
{3.291796067500631, 7}, {4.34314575050762, 8}, {5.876894374382339, 9},
|
||||||
{10.0, 10}]
|
{10.0, 10}]
|
||||||
|
|
||||||
|
## Github Mirror
|
||||||
|
|
||||||
|
This repository is mirrored [on Github](https://github.com/jimsynz/ease)
|
||||||
|
from it's primary location [on my Forgejo instance](https://harton.dev/james/ease).
|
||||||
|
Feel free to raise issues and open PRs on Github.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
This software is licensed under the terms of the
|
This software is licensed under the terms of the
|
||||||
|
|
|
@ -3,7 +3,7 @@ import Config
|
||||||
config :git_ops,
|
config :git_ops,
|
||||||
mix_project: Mix.Project.get!(),
|
mix_project: Mix.Project.get!(),
|
||||||
changelog_file: "CHANGELOG.md",
|
changelog_file: "CHANGELOG.md",
|
||||||
repository_url: "https://gitlab.com/jimsy/ease.ex",
|
repository_url: "https://harton.dev/james/ease",
|
||||||
manage_mix_version?: true,
|
manage_mix_version?: true,
|
||||||
manage_readme_version: "README.md",
|
manage_readme_version: "README.md",
|
||||||
version_tag_prefix: "v"
|
version_tag_prefix: "v"
|
||||||
|
|
21
mix.exs
21
mix.exs
|
@ -1,7 +1,7 @@
|
||||||
defmodule Ease.Mixfile do
|
defmodule Ease.Mixfile do
|
||||||
use Mix.Project
|
use Mix.Project
|
||||||
|
|
||||||
@version "1.0.0"
|
@version "1.0.1"
|
||||||
|
|
||||||
def project do
|
def project do
|
||||||
[
|
[
|
||||||
|
@ -12,7 +12,11 @@ defmodule Ease.Mixfile do
|
||||||
build_embedded: Mix.env() == :prod,
|
build_embedded: Mix.env() == :prod,
|
||||||
start_permanent: Mix.env() == :prod,
|
start_permanent: Mix.env() == :prod,
|
||||||
package: package(),
|
package: package(),
|
||||||
deps: deps()
|
deps: deps(),
|
||||||
|
docs: [
|
||||||
|
main: "readme",
|
||||||
|
extras: ["README.md", "CHANGELOG.md"]
|
||||||
|
]
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -27,7 +31,10 @@ defmodule Ease.Mixfile do
|
||||||
maintainers: ["James Harton <james@harton.nz>"],
|
maintainers: ["James Harton <james@harton.nz>"],
|
||||||
licenses: ["HL3-FULL"],
|
licenses: ["HL3-FULL"],
|
||||||
links: %{
|
links: %{
|
||||||
"Source" => "https://gitlab.com/jimsy/ease.ex"
|
"Source" => "https://harton.dev/james/ease",
|
||||||
|
"GitHub" => "https://github.com/jimsynz/ease",
|
||||||
|
"Changelog" => "https://docs.harton.nz/james/ease/changelog.html",
|
||||||
|
"Sponsor" => "https://github.com/sponsors/jimsynz"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
@ -36,7 +43,7 @@ defmodule Ease.Mixfile do
|
||||||
#
|
#
|
||||||
# Type "mix help compile.app" for more information
|
# Type "mix help compile.app" for more information
|
||||||
def application do
|
def application do
|
||||||
[applications: [:logger]]
|
[extra_applications: [:logger]]
|
||||||
end
|
end
|
||||||
|
|
||||||
# Dependencies can be Hex packages:
|
# Dependencies can be Hex packages:
|
||||||
|
@ -50,9 +57,11 @@ defmodule Ease.Mixfile do
|
||||||
# Type "mix help deps" for more examples and options
|
# Type "mix help deps" for more examples and options
|
||||||
defp deps do
|
defp deps do
|
||||||
[
|
[
|
||||||
{:ex_doc, "~> 0.29", only: ~w[dev test]a},
|
|
||||||
{:earmark, "~> 1.4", only: ~w[dev test]a},
|
|
||||||
{:credo, "~> 1.6", only: ~w[dev test]a, runtime: false},
|
{:credo, "~> 1.6", only: ~w[dev test]a, runtime: false},
|
||||||
|
{:dialyxir, "~> 1.4", only: ~w[dev test]a, runtime: false},
|
||||||
|
{:doctor, "~> 0.21", only: ~w[dev test]a, runtime: false},
|
||||||
|
{:earmark, "~> 1.4", only: ~w[dev test]a, runtime: false},
|
||||||
|
{:ex_doc, "~> 0.30", only: ~w[dev test]a, runtime: false},
|
||||||
{:git_ops, "~> 2.4", only: ~w[dev test]a, runtime: false}
|
{:git_ops, "~> 2.4", only: ~w[dev test]a, runtime: false}
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
30
mix.lock
30
mix.lock
|
@ -1,17 +1,19 @@
|
||||||
%{
|
%{
|
||||||
"bunt": {:hex, :bunt, "0.2.0", "951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38", [:mix], [], "hexpm", "7af5c7e09fe1d40f76c8e4f9dd2be7cebd83909f31fee7cd0e9eadc567da8353"},
|
"bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"},
|
||||||
"credo": {:hex, :credo, "1.6.1", "7dc76dcdb764a4316c1596804c48eada9fff44bd4b733a91ccbf0c0f368be61e", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2.8", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "698607fb5993720c7e93d2d8e76f2175bba024de964e160e2f7151ef3ab82ac5"},
|
"credo": {:hex, :credo, "1.7.7", "771445037228f763f9b2afd612b6aa2fd8e28432a95dbbc60d8e03ce71ba4446", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "8bc87496c9aaacdc3f90f01b7b0582467b69b4bd2441fe8aae3109d843cc2f2e"},
|
||||||
"earmark": {:hex, :earmark, "1.4.19", "3854a17305c880cc46305af15fb1630568d23a709aba21aaa996ced082fc29d7", [:mix], [{:earmark_parser, ">= 1.4.18", [hex: :earmark_parser, repo: "hexpm", optional: false]}], "hexpm", "d5a8c9f9e37159a8fdd3ea8437fb4e229eaf56d5129b9a011dc4780a4872079d"},
|
"decimal": {:hex, :decimal, "2.1.1", "5611dca5d4b2c3dd497dec8f68751f1f1a54755e8ed2a966c2633cf885973ad6", [:mix], [], "hexpm", "53cfe5f497ed0e7771ae1a475575603d77425099ba5faef9394932b35020ffcc"},
|
||||||
"earmark_parser": {:hex, :earmark_parser, "1.4.28", "0bf6546eb7cd6185ae086cbc5d20cd6dbb4b428aad14c02c49f7b554484b4586", [:mix], [], "hexpm", "501cef12286a3231dc80c81352a9453decf9586977f917a96e619293132743fb"},
|
"dialyxir": {:hex, :dialyxir, "1.4.3", "edd0124f358f0b9e95bfe53a9fcf806d615d8f838e2202a9f430d59566b6b53b", [:mix], [{:erlex, ">= 0.2.6", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "bf2cfb75cd5c5006bec30141b131663299c661a864ec7fbbc72dfa557487a986"},
|
||||||
"ex_doc": {:hex, :ex_doc, "0.29.0", "4a1cb903ce746aceef9c1f9ae8a6c12b742a5461e6959b9d3b24d813ffbea146", [:mix], [{:earmark_parser, "~> 1.4.19", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "f096adb8bbca677d35d278223361c7792d496b3fc0d0224c9d4bc2f651af5db1"},
|
"doctor": {:hex, :doctor, "0.21.0", "20ef89355c67778e206225fe74913e96141c4d001cb04efdeba1a2a9704f1ab5", [:mix], [{:decimal, "~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}], "hexpm", "a227831daa79784eb24cdeedfa403c46a4cb7d0eab0e31232ec654314447e4e0"},
|
||||||
"file_system": {:hex, :file_system, "0.2.10", "fb082005a9cd1711c05b5248710f8826b02d7d1784e7c3451f9c1231d4fc162d", [:mix], [], "hexpm", "41195edbfb562a593726eda3b3e8b103a309b733ad25f3d642ba49696bf715dc"},
|
"earmark": {:hex, :earmark, "1.4.47", "7e7596b84fe4ebeb8751e14cbaeaf4d7a0237708f2ce43630cfd9065551f94ca", [:mix], [], "hexpm", "3e96bebea2c2d95f3b346a7ff22285bc68a99fbabdad9b655aa9c6be06c698f8"},
|
||||||
|
"earmark_parser": {:hex, :earmark_parser, "1.4.39", "424642f8335b05bb9eb611aa1564c148a8ee35c9c8a8bba6e129d51a3e3c6769", [:mix], [], "hexpm", "06553a88d1f1846da9ef066b87b57c6f605552cfbe40d20bd8d59cc6bde41944"},
|
||||||
|
"erlex": {:hex, :erlex, "0.2.6", "c7987d15e899c7a2f34f5420d2a2ea0d659682c06ac607572df55a43753aa12e", [:mix], [], "hexpm", "2ed2e25711feb44d52b17d2780eabf998452f6efda104877a3881c2f8c0c0c75"},
|
||||||
|
"ex_doc": {:hex, :ex_doc, "0.31.1", "8a2355ac42b1cc7b2379da9e40243f2670143721dd50748bf6c3b1184dae2089", [:mix], [{:earmark_parser, "~> 1.4.39", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.1", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1", [hex: :makeup_erlang, repo: "hexpm", optional: false]}], "hexpm", "3178c3a407c557d8343479e1ff117a96fd31bafe52a039079593fb0524ef61b0"},
|
||||||
|
"file_system": {:hex, :file_system, "1.0.0", "b689cc7dcee665f774de94b5a832e578bd7963c8e637ef940cd44327db7de2cd", [:mix], [], "hexpm", "6752092d66aec5a10e662aefeed8ddb9531d79db0bc145bb8c40325ca1d8536d"},
|
||||||
"git_cli": {:hex, :git_cli, "0.3.0", "a5422f9b95c99483385b976f5d43f7e8233283a47cda13533d7c16131cb14df5", [:mix], [], "hexpm", "78cb952f4c86a41f4d3511f1d3ecb28edb268e3a7df278de2faa1bd4672eaf9b"},
|
"git_cli": {:hex, :git_cli, "0.3.0", "a5422f9b95c99483385b976f5d43f7e8233283a47cda13533d7c16131cb14df5", [:mix], [], "hexpm", "78cb952f4c86a41f4d3511f1d3ecb28edb268e3a7df278de2faa1bd4672eaf9b"},
|
||||||
"git_ops": {:hex, :git_ops, "2.4.5", "185a724dfde3745edd22f7571d59c47a835cf54ded67e9ccbc951920b7eec4c2", [:mix], [{:git_cli, "~> 0.2", [hex: :git_cli, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "e323a5b01ad53bc8c19c3a444be3e61ed7803ecd2e95530446ae9327d0143ecc"},
|
"git_ops": {:hex, :git_ops, "2.6.1", "cc7799a68c26cf814d6d1a5121415b4f5bf813de200908f930b27a2f1fe9dad5", [:mix], [{:git_cli, "~> 0.2", [hex: :git_cli, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "ce62d07e41fe993ec22c35d5edb11cf333a21ddaead6f5d9868fcb607d42039e"},
|
||||||
"inch_ex": {:hex, :inch_ex, "2.0.0", "24268a9284a1751f2ceda569cd978e1fa394c977c45c331bb52a405de544f4de", [:mix], [{:bunt, "~> 0.2", [hex: :bunt, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "96d0ec5ecac8cf63142d02f16b7ab7152cf0f0f1a185a80161b758383c9399a8"},
|
"jason": {:hex, :jason, "1.4.1", "af1504e35f629ddcdd6addb3513c3853991f694921b1b9368b0bd32beb9f1b63", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "fbb01ecdfd565b56261302f7e1fcc27c4fb8f32d56eab74db621fc154604a7a1"},
|
||||||
"jason": {:hex, :jason, "1.2.2", "ba43e3f2709fd1aa1dce90aaabfd039d000469c05c56f0b8e31978e03fa39052", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "18a228f5f0058ee183f29f9eae0805c6e59d61c3b006760668d8d18ff0d12179"},
|
"makeup": {:hex, :makeup, "1.1.1", "fa0bc768698053b2b3869fa8a62616501ff9d11a562f3ce39580d60860c3a55e", [:mix], [{:nimble_parsec, "~> 1.2.2 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "5dc62fbdd0de44de194898b6710692490be74baa02d9d108bc29f007783b0b48"},
|
||||||
"makeup": {:hex, :makeup, "1.1.0", "6b67c8bc2882a6b6a445859952a602afc1a41c2e08379ca057c0f525366fc3ca", [:mix], [{:nimble_parsec, "~> 1.2.2 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "0a45ed501f4a8897f580eabf99a2e5234ea3e75a4373c8a52824f6e873be57a6"},
|
"makeup_elixir": {:hex, :makeup_elixir, "0.16.1", "cc9e3ca312f1cfeccc572b37a09980287e243648108384b97ff2b76e505c3555", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "e127a341ad1b209bd80f7bd1620a15693a9908ed780c3b763bccf7d200c767c6"},
|
||||||
"makeup_elixir": {:hex, :makeup_elixir, "0.16.0", "f8c570a0d33f8039513fbccaf7108c5d750f47d8defd44088371191b76492b0b", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "28b2cbdc13960a46ae9a8858c4bebdec3c9a6d7b4b9e7f4ed1502f8159f338e7"},
|
"makeup_erlang": {:hex, :makeup_erlang, "0.1.4", "29563475afa9b8a2add1b7a9c8fb68d06ca7737648f28398e04461f008b69521", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "f4ed47ecda66de70dd817698a703f8816daa91272e7e45812469498614ae8b29"},
|
||||||
"makeup_erlang": {:hex, :makeup_erlang, "0.1.1", "3fcb7f09eb9d98dc4d208f49cc955a34218fc41ff6b84df7c75b3e6e533cc65f", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "174d0809e98a4ef0b3309256cbf97101c6ec01c4ab0b23e926a9e17df2077cbb"},
|
"nimble_parsec": {:hex, :nimble_parsec, "1.4.0", "51f9b613ea62cfa97b25ccc2c1b4216e81df970acd8e16e8d1bdc58fef21370d", [:mix], [], "hexpm", "9c565862810fb383e9838c1dd2d7d2c437b3d13b267414ba6af33e50d2d1cf28"},
|
||||||
"nimble_parsec": {:hex, :nimble_parsec, "1.2.3", "244836e6e3f1200c7f30cb56733fd808744eca61fd182f731eac4af635cc6d0b", [:mix], [], "hexpm", "c8d789e39b9131acf7b99291e93dae60ab48ef14a7ee9d58c6964f59efb570b0"},
|
|
||||||
"poison": {:hex, :poison, "3.1.0", "d9eb636610e096f86f25d9a46f35a9facac35609a7591b3be3326e99a0484665", [:mix], [], "hexpm"},
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
{
|
{
|
||||||
"extends": ["gitlab>jimsy/renovate"]
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"local>renovate/renovate"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue