README

changeset 48
0d2c13c24fd0
parent 46
e0928e4b9a59
child 53
32b9e0a5cebd
equal deleted inserted replaced
47:e5455e692b45 48:0d2c13c24fd0
1 cline 1 cline
2 _________________________________________ 2 _________________________________________
3 Copyright (C) 2013 Mike Becker 3 Copyright (C) 2017 Mike Becker
4 4
5 Contents: 5 Contents:
6 1) About ................................................................... 12 6 1) About ................................................................... 12
7 2) Build instructions ...................................................... 24 7 2) Build instructions ...................................................... 24
8 3) Usage example ........................................................... 40 8 3) Usage example ........................................................... 35
9 4) License ................................................................. 49 9 4) License ................................................................. 44
10 10
11 11
12 1) About ______________________________________________________________________ 12 1) About ______________________________________________________________________
13 13
14 cline is a command line tool that counts code lines in your project folder. It 14 cline is a command line tool that counts code lines in your project folder. It
21 21
22 Type cline --help for further information. 22 Type cline --help for further information.
23 23
24 2) Build instructions _________________________________________________________ 24 2) Build instructions _________________________________________________________
25 25
26 To build cline with gcc navigate to the root directory of the project and type: 26 In release version you can just
27 make 27 ./configure && make
28 28
29 To rebuild cline type: 29 After building you get a system wide install with
30 make clean all 30 sudo make install
31 31
32 To install cline type (as root): 32 To enable a debug build, configure with
33 make install 33 ./configure --enable-debug
34
35 If you build cline with mingw under Windows, you need to type:
36 make CONF=mingw
37 or
38 make CONF=mingw clean all
39 34
40 3) Example usage ______________________________________________________________ 35 3) Example usage ______________________________________________________________
41 36
42 You can test cline right away with the cline project files. Just type: 37 You can test cline right away with the cline project files. Just type:
43 cline -rms .c,.h --exclude-cstyle-comments 38 cline -rms .c,.h --exclude-cstyle-comments
46 won't display other files (-m option). It will also skip comments when counting 41 won't display other files (-m option). It will also skip comments when counting
47 lines. 42 lines.
48 43
49 4) License ____________________________________________________________________ 44 4) License ____________________________________________________________________
50 45
51 Copyright 2013 Mike Becker. All rights reserved. 46 Copyright 2017 Mike Becker. All rights reserved.
52 47
53 Redistribution and use in source and binary forms, with or without 48 Redistribution and use in source and binary forms, with or without
54 modification, are permitted provided that the following conditions are met: 49 modification, are permitted provided that the following conditions are met:
55 50
56 1. Redistributions of source code must retain the above copyright 51 1. Redistributions of source code must retain the above copyright

mercurial