Skip to content

Commit bd75a0b

Browse files
authored
Prepare 1.0.0-alpha3 release (#14)
1 parent 4a250aa commit bd75a0b

12 files changed

+45
-7602
lines changed

.circleci/config.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ erlang-docker-template: &erlang-docker-template
1414
path: ~/eld
1515
- run:
1616
name: install dependencies and compile
17-
command: make
17+
command: make compile
1818
working_directory: ~/eld
1919
- run:
2020
name: run tests
@@ -25,12 +25,12 @@ erlang-docker-template: &erlang-docker-template
2525
command: make dialyze
2626
working_directory: ~/eld
2727
- run:
28-
name: make test-results directory
28+
name: create test-results directory
2929
command: mkdir test-results
3030
working_directory: ~/eld
3131
- run:
3232
name: copy test results
33-
command: cp logs/*/junit_report.xml test-results/
33+
command: cp logs/ct/*/junit_report.xml test-results/
3434
working_directory: ~/eld
3535
- store_test_results:
3636
path: ~/eld/test-results

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.erlang.mk
22
.eunit
33
.idea
4+
.rebar3
45
*.iml
56
*.kdev4
67
*.o

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

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

5+
## [1.0.0-alpha3] - 2019-10-29
6+
7+
### Fixed
8+
9+
- Dependencies specify tagged versions and use hex (thank you @hez)
10+
- `eld:all_flags_state/2` now uses correct non-default instance (thank you @hez)
11+
- Streaming connection will now retry after initial request timeout
12+
13+
### Removed
14+
- `eld:evaluate/3-4` which were deprecated in the previous version
15+
- `erlang.mk`, `Makefile` now uses `rebar3`
16+
517
## [1.0.0-alpha2] - 2019-08-07
618

719
### Added

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ We encourage pull requests and other contributions from the community. Before su
1414

1515
### Prerequisites
1616

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

19-
### Installing dependencies
19+
### Run all tasks
2020

2121
From the project root directory:
2222

Makefile

+15-16
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
PROJECT = eld
2-
PROJECT_DESCRIPTION = Erlang LaunchDarkly SDK Client
3-
PROJECT_VERSION = 1.0.0-alpha2
1+
REBAR3 = rebar3
42

5-
# Dependencies
3+
all:
4+
@$(REBAR3) do clean, compile, ct, dialyzer
65

7-
LOCAL_DEPS = inets crypto asn1 public_key ssl
6+
compile:
7+
@$(REBAR3) compile
88

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

16-
CT_OPTS = -ct_hooks cth_surefire -logdir logs
12+
deps:
13+
@$(REBAR3) get-deps
1714

18-
DOC_DEPS = edown
19-
EDOC_OPTS += '{doclet,edown_doclet}'
15+
rel: all
16+
@$(REBAR3) release
2017

21-
# Standard targets
18+
run:
19+
@$(REBAR3) shell
2220

23-
include erlang.mk
21+
tests:
22+
@$(REBAR3) ct --logdir logs/ct

0 commit comments

Comments
 (0)