Commit Graph
29 Commits
Author SHA1 Message Date
Joe Lim f4ae38f575 Run cross build in parallel for CI (#2171)
* Run cross build in parallel for CI

* Intentional failure

* Revert "Intentional failure"

This reverts commit 27521305d7.

* reorder

* Rename step
2025-09-20 00:31:04 +10:00
Joe Lim b0c3f8dbd7 Use the next upcoming version when generating lf.1 (#2068)
* Update man page to include version

* Use next version instead
2025-07-26 23:24:05 +10:00
Andrew Voynov a01e80b6ff Improve gen shell scripts (#2064)
* Improve gen shell scripts

* Remove unused gen/doc.sh

* Fix generated version in docs

* Make OCI program usage transparent

podman/docker/* as well as root(less) mode is detected automatically.
Formatted with 4 space indentation, added Vim modeline for convenience.

* Rename gen/doc{-with-docker,}.sh

Since the script is no longer docker-specific, it's better to drop the
more specific name.

* Add Vim modeline to build.sh and xbuild.sh
2025-07-26 22:00:03 +10:00
Joe Lim 017951fd6b Bump pandoc (#2017) 2025-06-24 12:02:11 +10:00
Christian Zangl 488294588e generate doc with pandoc in docker (#1555) 2023-12-26 16:16:52 +01:00
Gökçehan Kara 9698ecddf1 use markdown for the documentation (#1474)
* add doc.md

* use h2 for doc sections

* use h3 for doc commands/options/vars

* use backticks instead of quotes in the doc

* merge multiple commands/options in the doc

* change header levels in the doc

* add man page sections to the doc

* remove extra spaces in headers in the doc

* add man and plain conversions of the doc

* update doc

* add missing flags to the doc

* replace the old documentation with the new one

* remove old doc files

* remove the doc instructions from CONTRIBUTING.md

* change the links to the doc

* shorten long links in the readme
2023-11-12 15:43:06 +01:00
Ilya Grigoriev c11931d3e6 Make CI cross-compile lf for every supported platform; support darwin-arm64 (#1298)
* Create CI job to run `gen/xbuild.sh`, adjust `xbuild.sh` to make it possible

This reworks the gen/xbuild.sh script to exit with a failure if any of the targets don't compile. It also adds a CI job to try cross-compiling for every platform on every pull request.

The new check is a little slow and compute-expensive, but I am hoping it's well within the quota.

See #1299 for a demo of how the CI would have failed after #1288 and before #1295.

Screenshot: https://github.com/gokcehan/lf/assets/4123047/3d7a6b7c-8642-4d4c-a98a-c8b886c0b184

Thanks to @joelim-work for numerous improvements and an alternate
implementation I heavily borrowed from
(https://github.com/joelim-work/lf/blob/ci/gen/xbuild.sh)

* Refactor xbuild.sh some more to decrease repetition

I can remove this commit if people prefer.

* Generate darwin-arm64 binaries as we have users using it

Arm Macs are becoming popular. We have at least one
user: https://github.com/gokcehan/lf/issues/1294. It
seems lf works fine there.
2023-07-03 13:08:12 +03:00
Gokcehan 654b8737b8 update man generator for go1.19
cc #959 #961
2022-10-15 21:34:55 +03:00
Gokcehan fe59f0f30c update doc 2022-04-02 21:18:05 +03:00
Gokcehan 47620fa680 add command line option for log file
cc #739
2022-02-06 19:51:52 +03:00
Christian Zangl 761aa23483 add select-path to -help (#749) 2022-02-04 23:32:34 +03:00
Gokcehan 7cdb7495ea add a command line parameter for single use
cc #177
2021-05-19 23:38:05 +03:00
Gokcehan c8f60623f3 cleanup 2021-04-13 23:29:26 +03:00
Gokcehan ced1ccd0c3 update doc 2021-02-22 01:45:48 +03:00
Gokcehan 8979e2b260 update cross build script 2020-10-10 16:53:52 +03:00
Gokcehan 1d95991054 remove redundant syncs in cross build script 2020-08-20 02:18:52 +03:00
Gokcehan e74a43bf0e cleanup 2018-07-07 17:34:04 +03:00
Gokcehan 9d4accbcde typo 2018-07-06 01:16:58 +03:00
Gokcehan db9d795cb0 cleanup 2018-07-06 01:12:20 +03:00
Gokcehan 63892ee83c generate man page from the documentation 2018-07-05 23:09:53 +03:00
Gokcehan 4c54acebeb add optional version parameter to build scripts
Related #103
2018-06-26 17:09:05 +03:00
Gokcehan fe786aae4c add a build script for a static stripped binary
Related #99 and #103
2018-06-26 16:29:48 +03:00
Gokcehan 91c3790032 add version to the binary
Related #95
2018-03-22 20:42:15 +03:00
Gokcehan ae4a29e550 add missing platforms 2017-08-05 19:41:39 +03:00
Gokcehan c05fc7b299 use a regular docstring tmp file for usual permissions 2016-12-19 22:45:37 +03:00
Gokcehan 4d8a37ebc9 add cross build script 2016-10-08 16:19:47 +03:00
Gokcehan b0b06c46d2 escape backticks in documentation 2016-09-15 17:08:05 +03:00
Gokcehan 295c9bff76 add tutorial to the documentation 2016-09-15 02:18:50 +03:00
Gokcehan 7d2ee16e2d generate documentation and embed in binary 2016-09-14 00:40:14 +03:00