yes very doable
On Thu, Nov 28, 2013 at 8:37 PM, Philipp Heckel <[email protected]>wrote: > Hi there, > > task fakeuninstall { >>> new File("/usr/local/bin/syncany").delete() >>> new File("/usr/local/bin/sy").delete() >>> } >>> >>> task fakeinstall(dependsOn: fakeuninstall) { >>> ant.symlink(resource: "${buildDir}/syncany", link: >>> "/usr/local/bin/syncany") >>> ant.symlink(resource: "${buildDir}/syncany", link: >>> "/usr/local/bin/sy") >>> } >>> >>> >> ok great >> > > This is more tricky than expected, because what we expect for a > "fakeinstall" is basically the structure that is packaged by "distTar", but > extracted, so something like: > > bin/syncany > bin/syncany.bat > libs/*.jar > > If this can be done, you have to do: > 1. run the distTar task > 2. extract the TAR > 3a. on Linux: point the symlink to the syncany shell script (in > syncany-cli/build/distributions/syncany-cli/bin) > 3b. on Windows: add the "bin" dir to the Windows PATH variable (in > syncany-cli/build/distributions/syncany-cli/bin) > > Hope this helps, Vincent :-D > > Best > Philipp > -- Vincent Wiencek [email protected]
-- Mailing list: https://launchpad.net/~syncany-team Post to : [email protected] Unsubscribe : https://launchpad.net/~syncany-team More help : https://help.launchpad.net/ListHelp

