Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 15a5588

Browse files
committed
Bump version, add header script
1 parent 48afb1f commit 15a5588

File tree

3 files changed

+23
-1
lines changed

3 files changed

+23
-1
lines changed

‎lib/build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ android {
3232
publish {
3333
groupId = 'net.ypresto.androidtranscoder'
3434
artifactId = 'android-transcoder'
35-
version = '0.1.6-SNAPSHOT'
35+
version = '0.1.7-SNAPSHOT'
3636
licences = ['Apache-2.0']
3737
website = 'https://github.com/ypresto/android-transcoder'
3838
autoPublish = false

‎script/add-header.sh‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
for file in `find lib/src -name '*.java'`; do
4+
grep 'http://www.apache.org/licenses/LICENSE-2.0' $file > /dev/null && continue
5+
cat script/header.txt $file > ${file}.new
6+
mv ${file}.new $file
7+
done

‎script/header.txt‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* Copyright (C) 2015 Yuya Tanaka
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+
*/

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /