Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace deprecated commands with new dart commands #49

Merged
merged 1 commit into from
May 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /build
RUN apt update && apt install -y make protobuf-compiler

COPY pubspec.yaml .
RUN pub get
RUN dart pub get

COPY . .

Expand All @@ -24,8 +24,8 @@ ARG GIT_HEAD_URL
ARG GIT_MERGE_HEAD
ARG GIT_MERGE_BRANCH

RUN pub global activate --hosted-url https://pub.workiva.org semver_audit ^2.2.0
RUN pub global run semver_audit report --repo Workiva/opentelemetry-dart
RUN dart pub global activate --hosted-url https://pub.workiva.org semver_audit ^2.2.0
RUN dart pub global run semver_audit report --repo Workiva/opentelemetry-dart

ARG BUILD_ARTIFACTS_PUB=/build/pub_package.pub.tgz

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
init:
git submodule update --init
pub get
pub global activate protoc_plugin 19.3.1
dart pub get
dart pub global activate protoc_plugin 19.3.1
cd lib/src/sdk/trace/exporters && \
protoc --proto_path opentelemetry-proto \
--dart_out . \
Expand Down