Browse Source

Update Cakelisp to fix hook ordering

This ensures puzzles are generated before files are copied to Android
directories.
master
Macoy Madson 2 years ago
parent
commit
b615cf8873
  1. 2
      Dependencies/gamelib
  2. 5
      src/Main.cake

2
Dependencies/gamelib

@ -1 +1 @@
Subproject commit 4a85ff5a3e497b42624d1da55069837125d0abac
Subproject commit 149130eadc08a8af30afe7e523c8151ede4be10c

5
src/Main.cake

@ -1484,12 +1484,11 @@ This tool requires rsync to be installed.\n")
(return false))
(return true))
;; Order matters here, because we want to copy the generated puzzles list to android
;; Cakelisp, however, doesn't seem to respect it (bug)
(comptime-cond
('Kitty-Main
(add-compile-time-hook-module pre-build generate-puzzles-list)
(add-compile-time-hook-module pre-build copy-src-files-to-android)
;; Order matters here, because we want to copy the generated puzzles list to android
(add-compile-time-hook-module pre-build copy-src-files-to-android :priority-decrease 1)
))
(module-use-sdl-build-options)

Loading…
Cancel
Save