On Sun, Oct 23, 2011 at 8:37 PM, Thijs Schreijer <[email protected]> wrote: > Hi, > > My First effort for a rock is attached, please verify correctness before > posting as I’m in doubt whether it is correct and have no clue how to test > it.
You can test it by running "luarocks build CopasTimer-0.4.0-1.rockspec". The first tweak needed was to rename it, as rockspec filenames are expected to be all-lowercase. Then I noticed that the .tar.gz is named "copastimer-0.4.0-1.tar.gz", but the directory inside it is named "copastimer-0.4.1". This required an additional entry, source.dir. (The "-1" suffix in rockspec versions is reserved to the rockspec revision, separate from the package version. I advise you to avoid using this suffix in package tarballs.) After that change, the build succeeded. You can then run "luarocks show copastimer" and see that it is indeed installed. The rockspec and .src.rock file are now in the repository. Thanks for contributing! -- Hisham http://hisham.hm/ - http://luarocks.org/ ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
