On May 11, 2019, at 10:46 PM, Justin Clift <[email protected]> wrote:
>
> One of the steps uses curl to download fileio.c, test_windirent.c/.h
> from fossil
[snip]
> Is there a way to always get "the latest" version of the file? :)
$ curl -L -o src/extensions/fileio.c
'https://sqlite.org/src/raw?filename=ext/misc/fileio.c&ci=trunk'
Mind the quotes: you need them to prevent the shell from trying to interpret
the &.
Or, you could just use Fossil directly. First time:
$ fossil clone https://sqlite.org/src sqlite.fossil
$ mkdir sqlite-trunk
$ cd sqlite-trunk
$ fossil open ../sqlite.fossil
$ cp ext/misc/fileio.c ../src/extensions
Subsequent times:
$ cd sqlite-trunk
$ fossil update
$ cp ext/misc/fileio.c ../src/extensions
Which brings me to how I constructed the URL in the curl command above:
$ fossil help /raw
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users