dart-sass/tool/travis/utils.sh
Natalie Weizenbaum 58a525c435
Get npm and pub credentials from environment variables (#694)
Getting them from a file made the process of updating either set of
credentials convoluted and error-prone, and meant that if one needed
to be updated both had to be re-encrypted.

This also updates the pub credentials to accommodate the new scope, as
described in dart-lang/pub-dev#2281.
2019-05-24 16:43:04 -07:00

12 lines
346 B
Bash

# Copyright 2018 Google Inc. Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
# Prints the invocation of a command and then runs that command, in the same way
# Travis's internal infrastructure does.
function travis_cmd() {
echo "\$ $@"
"$@"
}