diff options
author | Soumith Chintala <soumith@gmail.com> | 2015-10-07 07:52:42 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2015-10-07 07:52:42 +0300 |
commit | c7af2898dd3d6b7d26e6ed7cc03911fc54f8ae51 (patch) | |
tree | ed790e59e295676adba705b97873b44919204780 /CONTRIBUTING.md | |
parent | adb7dcb843367db24f5743f82e93ea7a73ce1f27 (diff) |
added developing tips
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c621fa5..d4da7c9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -128,3 +128,9 @@ included in the project: **IMPORTANT**: By submitting a patch, you agree to allow the project owners to license your work under the terms of the BSD License. + +## Development workflow tips + +* While you are changing lua files, one can simply symlink the cloned nn directory to ~/torch/install/share/lua/5.1/nn so that any change is reflected in the current install, without constantly having to do luarocks make rocks/* +* If you are changing C files, then, after every change, you run luarocks make rocks/* +* To test, you can just use: th -lnn -e "nn.test()" |