Skip to content

Commit 7df8912

Browse files
committed
Reorganized utils for new bash scripts
1 parent b5aaed7 commit 7df8912

File tree

6 files changed

+45
-3
lines changed

6 files changed

+45
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ script:
4848
- export PATH="$HOME/.yarn/bin:$PATH"
4949
# Run the npm package tests
5050
- yarn install
51-
- travis_util/test_npm.sh
51+
- utils/test_npm.sh
5252
# Checks for JavaDoc errors
5353
- mvn -Dstyle.color=always -pl com.google.javascript:closure-compiler javadoc:javadoc
5454
# Test new Bazel based J2CL build
55-
- ./build_test.sh
55+
- utils/build_test.sh
5656
# Kill Bazel workers to clean up their memory usage
5757
- bazel shutdown
5858

@@ -61,7 +61,7 @@ script:
6161
sudo: required
6262

6363
after_success:
64-
- travis_util/deploy_snapshot.sh
64+
- utils/deploy_snapshot.sh
6565

6666
env:
6767
global:

utils/build.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/bash
2+
# Copyright 2020 Google Inc. All Rights Reserved
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS-IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
mvn -DskipTests -pl externs/pom.xml,pom-main.xml,pom-main-shaded.xml
File renamed without changes.

travis_util/deploy_snapshot.sh renamed to utils/deploy_snapshot.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
#!/bin/bash
2+
# Copyright 2020 Google Inc. All Rights Reserved
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS-IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
215

316
# see https://coderwall.com/p/9b_lfq
417

File renamed without changes.

travis_util/test_npm.sh renamed to utils/test_npm.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
#!/bin/bash
2+
# Copyright 2020 Google Inc. All Rights Reserved
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS-IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
215

316
# Run yarn install so that dev dependencies are available
417
yarn install && cd ${TRAVIS_BUILD_DIR}/node_modules/closure-compiler-npm && yarn install

0 commit comments

Comments
 (0)