mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
add more Copyright notes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b08ccc7816
commit
d469a16bb8
10 changed files with 57 additions and 4 deletions
|
@ -1,3 +1,5 @@
|
|||
# Copyright (c) 2015 Microsoft Corporation
|
||||
|
||||
import os
|
||||
import re
|
||||
|
||||
|
@ -42,13 +44,14 @@ def add_cr(file):
|
|||
ous.close()
|
||||
os.system("move %s %s" % (tmp, file))
|
||||
|
||||
def add_missing_cr():
|
||||
for root, dirs, files in os.walk('src'):
|
||||
def add_missing_cr(dir):
|
||||
for root, dirs, files in os.walk(dir):
|
||||
for f in files:
|
||||
if f.endswith('.cpp') or f.endswith('.h'):
|
||||
if f.endswith('.cpp') or f.endswith('.h') or f.endswith('.c'):
|
||||
path = "%s\\%s" % (root, f)
|
||||
if not has_cr(path):
|
||||
print "Missing CR for %s" % path
|
||||
add_cr(path)
|
||||
|
||||
add_missing_cr()
|
||||
add_missing_cr('src')
|
||||
add_missing_cr('examples')
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Copyright (c) 2015 Microsoft Corporation
|
||||
# Script for "cloning" (and tracking) all branches at codeplex.
|
||||
# On Windows, this script must be executed in the "git Bash" console.
|
||||
|
||||
for branch in `git branch -a | grep remotes | grep -v HEAD | grep -v master`; do
|
||||
git branch --track ${branch##*/} $branch
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue