Commit Graph

18 Commits

Author SHA1 Message Date
Drew DeVault 9b73cd28c2 Makefile: update python path 2024-03-20 13:04:58 +01:00
Simon Ser 8d8964ab95 makefile: add loaders to gqlgen deps
Without the loaders, gqlgen fails with:

    validation failed: packages.Load: /home/simon/src/todo.sr.ht/api/loaders/middleware.go:34:26: undefined: EntitiesByParticipantIDLoader
2024-01-31 12:02:41 +01:00
Simon Ser a4f42982d4 makefile: use grouped target for loaders
That way make will only run it once for the whole group.
2024-01-31 11:52:25 +01:00
Simon Ser 342874ec62 makefile: don't re-generate if unchanged
Use make targets to skip "go generate" invocations when unnecessary.

Contrary to the prior iteration in d95f464128 ("makefile: don't
re-generate if unchanged"), this version uses api/graph/api/generated.go
instead of api/graph/schema.resolvers.go to track the freshness of
the GraphQL codegen. This fixes the situation where the GraphQL codegen
is skipped because api/graph/schema.resolvers.go exists and is newer
than its dependencies.
2024-01-26 17:21:14 +01:00
Drew DeVault 1eefae9f9e Revert "makefile: don't re-generate if unchanged"
This reverts commit d95f464128.
2023-09-14 14:29:04 +02:00
Simon Ser d95f464128 makefile: don't re-generate if unchanged
Use make targets to skip "go generate" invocations when unnecessary.
2023-08-31 22:51:53 +02:00
Drew DeVault 29c97798a3 Upgrade to Alpine 3.17 2023-03-22 10:20:18 +01:00
Drew DeVault 3b09ea2026 Makefile: update Python version 2022-03-24 12:38:29 +01:00
Drew DeVault 1db146e8ad api: remove generated files 2022-03-24 12:01:09 +01:00
Drew DeVault fed2e564e2 Upgrade to Alpine 3.11 2019-12-20 17:23:35 -05:00
Drew DeVault 18f2c28510 Python 3.7 2018-08-07 13:01:16 -04:00
Drew DeVault 76c9b4683e Fix Makefile error 2017-04-02 11:32:17 -04:00
Drew DeVault a357b5b31a Move templates and static into module 2017-04-02 10:54:09 -04:00
Drew DeVault a60e26ef7f Revert bad change to makefile 2017-02-11 08:07:17 -05:00
Drew DeVault b1d4704dc8 Document cross authentication 2017-02-11 08:04:31 -05:00
Drew DeVault 588cb56f6c Use shared makefile 2017-02-06 01:29:05 -05:00
Drew DeVault 66a75a7f73 Move stylesheet into shared module 2017-02-05 17:36:13 -05:00
Drew DeVault 40dcb38349 Initial commit of meta.sr.ht 2016-10-14 01:59:57 -04:00