# sprint-2 - added documentation.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/78e6670c Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/78e6670c Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/78e6670c Branch: refs/heads/ignite-141 Commit: 78e6670c569fc916ae2ab6c2612274308f5269b3 Parents: 3e65882 Author: Dmitiry Setrakyan <dsetrak...@gridgain.com> Authored: Fri Mar 6 19:10:27 2015 -0800 Committer: Dmitiry Setrakyan <dsetrak...@gridgain.com> Committed: Fri Mar 6 19:10:27 2015 -0800 ---------------------------------------------------------------------- wiki/lic-prepender.sh | 36 ------------------------------------ wiki/licence-prepender.sh | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 36 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/78e6670c/wiki/lic-prepender.sh ---------------------------------------------------------------------- diff --git a/wiki/lic-prepender.sh b/wiki/lic-prepender.sh deleted file mode 100755 index 30860e5..0000000 --- a/wiki/lic-prepender.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash - -osname=`uname` - -license="<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the \"License\"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an \"AS IS\" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -" - -case $osname in - Darwin*) - for file in `find . -name "*.md"`; - do - cat $file | pbcopy && echo "$license" > $file && pbpaste >> $file - done - ;; - - *) - for file in `find . -name "*.md"`; - do - cat $file | xclip -i && echo "$license" > $file && xclip -o >> $file - done -esac \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/78e6670c/wiki/licence-prepender.sh ---------------------------------------------------------------------- diff --git a/wiki/licence-prepender.sh b/wiki/licence-prepender.sh new file mode 100755 index 0000000..30860e5 --- /dev/null +++ b/wiki/licence-prepender.sh @@ -0,0 +1,36 @@ +#!/usr/bin/env bash + +osname=`uname` + +license="<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the \"License\"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an \"AS IS\" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +" + +case $osname in + Darwin*) + for file in `find . -name "*.md"`; + do + cat $file | pbcopy && echo "$license" > $file && pbpaste >> $file + done + ;; + + *) + for file in `find . -name "*.md"`; + do + cat $file | xclip -i && echo "$license" > $file && xclip -o >> $file + done +esac \ No newline at end of file