examples: Trim .txt files trailing whitespace
via OSX: find . -name '*.txt' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
This commit is contained in:
parent
567b7d5a6a
commit
c99a9e5a6c
5 changed files with 42 additions and 42 deletions
|
|
@ -1,14 +1,14 @@
|
|||
This directory contains the nim backend code for the todo cross platform
|
||||
example.
|
||||
|
||||
Unlike the cross platform calculator example, this backend features more code,
|
||||
using an sqlite database for storage. Also a basic test module is provided, not
|
||||
to be included with the final program but to test the exported functionality.
|
||||
The test is not embedded directly in the backend.nim file to avoid being able
|
||||
to access internal data types and procs not exported and replicate the
|
||||
environment of client code.
|
||||
|
||||
In a bigger project with several people you could run `nim doc backend.nim`
|
||||
(or use the doc2 command for a whole project) and provide the generated html
|
||||
documentation to another programer for her to implement an interface without
|
||||
having to look at the source code.
|
||||
This directory contains the nim backend code for the todo cross platform
|
||||
example.
|
||||
|
||||
Unlike the cross platform calculator example, this backend features more code,
|
||||
using an sqlite database for storage. Also a basic test module is provided, not
|
||||
to be included with the final program but to test the exported functionality.
|
||||
The test is not embedded directly in the backend.nim file to avoid being able
|
||||
to access internal data types and procs not exported and replicate the
|
||||
environment of client code.
|
||||
|
||||
In a bigger project with several people you could run `nim doc backend.nim`
|
||||
(or use the doc2 command for a whole project) and provide the generated html
|
||||
documentation to another programer for her to implement an interface without
|
||||
having to look at the source code.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
The cross platform todo illustrates how to use Nim to create a backend
|
||||
called by different native user interfaces.
|
||||
|
||||
This example builds on the knowledge learned from the cross_calculator example.
|
||||
Check it out first to learn how to set up Nim on different platforms.
|
||||
The cross platform todo illustrates how to use Nim to create a backend
|
||||
called by different native user interfaces.
|
||||
|
||||
This example builds on the knowledge learned from the cross_calculator example.
|
||||
Check it out first to learn how to set up Nim on different platforms.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue