Commit Graph

41 Commits

Author SHA1 Message Date
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
XeroOl
680e4a6485
More progress on the language server 2022-08-01 13:09:05 -05:00
XeroOl
3c91ad0680
More progress 2022-07-30 01:30:01 -05:00
XeroOl
9815dae79d
Test rework, and more file tests 2022-07-29 00:08:14 -05:00
XeroOl
528b770b7b
added very basic file support, no fileedit syncing yet 2022-07-27 23:16:42 -05:00
XeroOl
5deb5e1ed0
very basic progress to getting communication working 2022-07-24 00:33:50 -05:00