Commit Graph

55 Commits

Author SHA1 Message Date
Michele Campeotto
d54ccfd777 Create build directory when generating man page
The clean target deletes the build directory, but it's only created by
the docs generation target, which is not normally invoked by a build.
2025-03-13 20:11:17 -07:00
Phil Hagelberg
66bc08a616 Remove luarocks packaging files. 2025-03-09 12:34:15 -07:00
Phil Hagelberg
24f6e4982a Don't need to run check-deps on *every* CI job ever. 2025-03-07 08:45:02 -08:00
Phil Hagelberg
9881e0d9ad Make the install task also install the man page. 2025-03-05 08:30:48 -08:00
Phil Hagelberg
fafb90f14b Don't run check-luarocks on ci. 2025-03-04 21:05:19 -08:00
Phil Hagelberg
e48aa8af89 Generate man page using pandoc.
Needs a few tweaks to make it usable but we can just append/prepend
them in the makefile target.
2025-03-04 09:19:36 -08:00
Phil Hagelberg
3a30fc83ed Support (or table.unpack _G.unpack) pattern without unknown field lint.
Now we are selflint clean! We can enable it in the ci target now.
2025-03-02 22:05:33 -08:00
Phil Hagelberg
670f7d108b Only generate lua manual docs; move tic80/love2d to other repo.
https://git.sr.ht/~technomancy/fennel-ls-docsets
2025-02-28 02:30:55 -08:00
Phil Hagelberg
9b54f882c9 Add tests for tic80 docset and fake external docset. 2025-02-26 22:41:59 -08:00
Phil Hagelberg
93f6543e42 Factor out ci target into subtargets that can be run independently. 2025-02-23 22:56:45 -08:00
Phil Hagelberg
487f4ca6f2 Fix dependency checks in CI. 2025-02-23 22:53:13 -08:00
Phil Hagelberg
6cddd6a030 Explain that love2d support is opt-in for licensing reasons.
Booooooooo GFDL.

Also include a link to apt.technomancy.us.
2025-02-15 09:51:54 -08:00
Phil Hagelberg
adcff56050 Fix warning in completion test; remove unused stuff from makefile. 2025-02-15 09:51:54 -08:00
Phil Hagelberg
e7a92df4cf Install luarocks in CI manifest, not in ci makefile target. 2025-02-15 09:51:54 -08:00
Phil Hagelberg
baf1065f0b Add assert-ok helper for linting tests.
Also factor out FAITH_TEST flag so you can use it to run an entire
module, not just individual tests.
2024-10-10 19:54:18 -05:00
Emma
f0c512575e Add Love2D API generation flag option to make docs target 2024-09-07 12:33:57 -04:00
XeroOl
9cc22e407e use the find command instead of makefile wildcard 2024-07-21 14:55:07 -05:00
Phil Hagelberg
4ad7987767 Add a count target to the makefile using cloc. 2024-07-20 12:56:20 -05:00
XeroOl
c5cae21909 fix the shell variable thingy 2024-06-27 00:41:30 -05:00
XeroOl
53d4bd3509 make rockspec increment 2024-06-27 00:34:40 -05:00
XeroOl
7550dbfd37 Fix hanging CI again 2024-06-24 00:51:10 -05:00
XeroOl
ac7617dcf1 make CI non-interactive 2024-06-24 00:25:27 -05:00
XeroOl
b11b5b7962 small changes 2024-06-24 00:22:51 -05:00
XeroOl
12c66306f8 old-fennel is a local file in CI 2024-06-23 16:16:26 -05:00
XeroOl
6659c26521 Use old fennel to rebuild the dependencies in CI 2024-06-23 16:14:32 -05:00
XeroOl
12ef05eef3 More CI tests 2024-06-23 16:11:00 -05:00
XeroOl
4574d406ca clean up Makefile 2024-06-23 15:55:32 -05:00
Rudolf Adamkovič
e6e209d4a2 Compile 'fennel-ls' before running tests 2024-06-15 22:30:18 -05:00
XeroOl
704aa3f7df clean up tools to make things more clear 2024-06-09 17:36:19 -05:00
XeroOl
14094762ab Switch from rxi/json to dkjson, switch folder structure 2024-06-09 17:36:19 -05:00
XeroOl
1f44c99ef1 fix sh function
I think it would probably be better to just make a shell script instead
of this whole lua stuff, but I'll leave it for now.
2024-06-08 12:20:54 -05:00
XeroOl
c92c834cf6 More tools changes 2024-06-08 00:35:28 -05:00
XeroOl
43af58d2eb moved "make-docs" to its own "tools" folder 2024-05-29 23:41:19 -05:00
XeroOl
9bad702d91 make docs will download and rebuild lua documentation 2024-05-13 23:58:48 -05:00
Phil Hagelberg
80a43cab08 Avoid include warnings when compiling.
Also update the readme regarding Emacs; version 30 doesn't need any config.
2024-04-27 14:07:27 -05:00
XeroOl
5fa5a0a323 make repl runs a fennel repl with the path set correctly 2024-03-28 23:59:45 -05:00
XeroOl
1b3a8b2ae3 fix makefile 2024-03-02 20:27:32 -06:00
XeroOl
186c388344 Change tests to faith 2024-03-01 14:43:26 -06:00
Phil Hagelberg
4a121f70b0 Add selfcheck make target.
Also cleans up repeated path options in the makefile, and cleans up
warnings where fennel-ls warns on itself.

There were some unused functions; I just put a _ before their name but
that might be a bit silly. Maybe they should be removed? Or just left alone?
2023-11-26 10:41:21 -08:00
XeroOl
c30c3f35bc attempt 1 to add ci to fennel-ls 2023-07-18 23:57:41 -05:00
XeroOl
e5742bbc4e make fennel-ls crash a bit less 2023-06-09 01:36:59 -05:00
XeroOl
ad59c579f2 Global completion documentation is hardcoded to Lua 5.4 2023-06-05 21:31:43 -05:00
XeroOl
2e3daa770b Makefile supports switching out Lua 2023-05-29 12:18:45 -05:00
XeroOl
33d080f6c6 Changed test framework to not require outside deps 2023-03-23 14:55:06 -05:00
Phil Hagelberg
f4298b02be Add a make install target, and instructions for Emacs.
Might be nice to be able to run make install as this is pretty
standard. For people who don't like sudo, they can set $PREFIX to a
user-writable location of their choice.
2023-02-23 21:48:30 -06:00
Phil Hagelberg
3eeebdbf11
Build a shebanged executable instead of a binary.
This makes the build itself a lot more portable. The executable of
course relies on lua being installed on the machine, but this will
nearly always be the case for a program used by Fennel developers.

Bonus: removes the direct use of the fennel.utils module which was
only used for the table? function and was causing a warning.
2022-09-08 11:41:01 -05:00
XeroOl
80d4455ed3
find definition is more advanced but more brittle 2022-08-07 18:47:18 -05:00
XeroOl
4847179afd
Created a compiler plugin, local go-to-definition 2022-08-02 18:18:03 -05:00
XeroOl
052f9a67d0
reduce the prevelance of penlight 2022-08-01 18:21:27 -05:00
XeroOl
349280ad9e
organization 2022-08-01 13:57:08 -05:00