Skip to content

Commit

Permalink
Prepare 1.0.0-alpha3 release (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
zurab-darkly authored Oct 29, 2019
1 parent 4a250aa commit bd75a0b
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 7,602 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ erlang-docker-template: &erlang-docker-template
path: ~/eld
- run:
name: install dependencies and compile
command: make
command: make compile
working_directory: ~/eld
- run:
name: run tests
Expand All @@ -25,12 +25,12 @@ erlang-docker-template: &erlang-docker-template
command: make dialyze
working_directory: ~/eld
- run:
name: make test-results directory
name: create test-results directory
command: mkdir test-results
working_directory: ~/eld
- run:
name: copy test results
command: cp logs/*/junit_report.xml test-results/
command: cp logs/ct/*/junit_report.xml test-results/
working_directory: ~/eld
- store_test_results:
path: ~/eld/test-results
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.erlang.mk
.eunit
.idea
.rebar3
*.iml
*.kdev4
*.o
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

All notable changes to the LaunchDarkly Erlang/Elixir SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).

## [1.0.0-alpha3] - 2019-10-29

### Fixed

- Dependencies specify tagged versions and use hex (thank you @hez)
- `eld:all_flags_state/2` now uses correct non-default instance (thank you @hez)
- Streaming connection will now retry after initial request timeout

### Removed
- `eld:evaluate/3-4` which were deprecated in the previous version
- `erlang.mk`, `Makefile` now uses `rebar3`

## [1.0.0-alpha2] - 2019-08-07

### Added
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ We encourage pull requests and other contributions from the community. Before su

### Prerequisites

This project can be built with either [rebar3](https://www.rebar3.org/) or [erlang.mk](https://erlang.mk/).
This project is built with [rebar3](https://www.rebar3.org/) and `make`.

### Installing dependencies
### Run all tasks

From the project root directory:

Expand Down
31 changes: 15 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
PROJECT = eld
PROJECT_DESCRIPTION = Erlang LaunchDarkly SDK Client
PROJECT_VERSION = 1.0.0-alpha2
REBAR3 = rebar3

# Dependencies
all:
@$(REBAR3) do clean, compile, ct, dialyzer

LOCAL_DEPS = inets crypto asn1 public_key ssl
compile:
@$(REBAR3) compile

DEPS = shotgun jsx verl lru backoff
dep_shotgun = git https://github.com/inaka/shotgun master
dep_jsx = git https://github.com/talentdeficit/jsx v2.9.0
dep_verl = git https://github.com/jelly-beam/verl.git v1.0.1
dep_lru = git https://github.com/barrel-db/erlang-lru 1.3.1
dep_backoff = git https://github.com/ferd/backoff 1.1.6
dialyze:
@$(REBAR3) dialyzer

CT_OPTS = -ct_hooks cth_surefire -logdir logs
deps:
@$(REBAR3) get-deps

DOC_DEPS = edown
EDOC_OPTS += '{doclet,edown_doclet}'
rel: all
@$(REBAR3) release

# Standard targets
run:
@$(REBAR3) shell

include erlang.mk
tests:
@$(REBAR3) ct --logdir logs/ct
Loading

0 comments on commit bd75a0b

Please sign in to comment.