forked from bingutcs/cs371p
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
132 lines (126 loc) · 3.83 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
clean:
cd examples; make clean
@echo
cd exercises; make clean
@echo
cd collatz; make clean
config:
git config -l
init:
touch README
git init
git add README
git commit -m 'first commit'
git remote add origin [email protected]:gpdowning/cs371p.git
git push -u origin master
pull:
@rsync -r -t -u -v --delete \
--include "Hello.c++" \
--include "Assertions.c++" \
--include "UnitTests1.c++" \
--include "UnitTests2.c++" \
--include "UnitTests3.c++" \
--include "Coverage1.c++" \
--include "Coverage2.c++" \
--include "Coverage3.c++" \
--include "Exceptions.c++" \
--include "Variables.c++" \
--include "Arguments.c++" \
--include "Returns.c++" \
--include "Types.c++" \
--include "Operators.c++" \
--include "Lambdas.c++" \
--include "Iterators.c++" \
--include "Consts.c++" \
--include "Arrays.c++" \
--include "FunctionDefaults.c++" \
--exclude "*" \
../../examples/c++/ examples
@rsync -r -t -u -v --delete \
--include "IsPrime1.c++" \
--include "IsPrime1.h" \
--include "IsPrime2.c++" \
--include "IsPrime2.h" \
--include "Incr.c++" \
--include "Incr.h" \
--include "Equal.c++" \
--include "Equal.h" \
--include "Copy.c++" \
--include "Copy.h" \
--include "Fill.c++" \
--include "Fill.h" \
--include "AllOf.c++" \
--include "AllOf.h" \
--include "RangeIterator.c++" \
--include "RangeIterator.h" \
--include "Range.c++" \
--include "Range.h" \
--include "Vector1.c++" \
--exclude "*" \
../../exercises/c++/ exercises
@rsync -r -t -u -v --delete \
--include "Collatz.c++" \
--include "Collatz.h" \
--include "RunCollatz.c++" \
--include "RunCollatz.in" \
--include "RunCollatz.out" \
--include "TestCollatz.c++" \
--include "TestCollatz.out" \
--exclude "*" \
../../projects/c++/collatz/ collatz
@rsync -r -t -u -v --delete \
--include "Allocator.h" \
--include "TestAllocator.c++" \
--include "TestAllocator.out" \
--exclude "*" \
../../projects/c++/allocator/ allocator
@rsync -r -t -u -v --delete \
--include "RunDarwin.c++" \
--include "RunDarwin.out" \
--exclude "*" \
../../projects/c++/darwin/ darwin
push:
make clean
@echo
git add .travis.yml
git add examples
git add exercises
git add collatz
git add allocator
git add darwin
git add makefile
git commit -m "another commit"
git push
git status
status:
make clean
@echo
git branch
git remote -v
git status
test:
cd examples; make test
@echo
cd exercises; make test
@echo
cd collatz; make html
@echo
cd collatz; make log
@echo
cd collatz; make test
@echo
cd collatz; make tests
@echo
cd collatz; make check
@echo
cd allocator; make allocator-tests
@echo
cd allocator; make html
@echo
cd allocator; make log
@echo
cd allocator; make test
@echo
cd allocator; make tests
@echo
cd allocator; make check