Skip to content

Replace deprecated commands with new dart commands #34

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

Closed
wants to merge 1 commit into from
Closed
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ RUN mkdir /root/.ssh && \
RUN echo "installing npm packages"
RUN npm install
RUN echo "Starting the script section" && \
pub get && \
dart pub get && \
dart analyze . && \
tar czvf sockjs_client.pub.tgz LICENSE README.md pubspec.yaml analysis_options.yaml lib/ && \
echo "script section completed"
Expand Down
8 changes: 4 additions & 4 deletions tool/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ case $TASK in
sleep 2

if [[ $DART_VERSION = $DART_2_PREFIX* ]]; then
echo -e 'pub run build_runner test -- -P all -P travis'
pub run build_runner test -- -P all -P travis
echo -e 'dart run build_runner test -- -P all -P travis'
dart run build_runner test -- -P all -P travis
else
echo -e 'pub run test -P all -P travis'
pub run test -P all -P travis
echo -e 'dart test -P all -P travis'
dart test -P all -P travis
fi

kill $SOCKJS_SERVER
Expand Down