From e98c5becba67d642b5fd5c6e4a206d79749e8953 Mon Sep 17 00:00:00 2001 From: s-ol Date: Thu, 22 Nov 2018 22:07:24 +1100 Subject: bundle binary files as URLs --- root/Tupdefault.lua | 14 ++++---------- root/articles/mmmfs/gallery/actual_image/image$png.png | Bin 0 -> 678429 bytes .../mmmfs/gallery/actual_image/preview: image$png.png | Bin 0 -> 31880 bytes root/games/vision-training-kit/description: text$plain | 1 - root/games/vision_training_kit/description: text$plain | 1 + root/games/vision_training_kit/icon: image$png.png | Bin 0 -> 16412 bytes 6 files changed, 5 insertions(+), 11 deletions(-) create mode 100644 root/articles/mmmfs/gallery/actual_image/image$png.png create mode 100644 root/articles/mmmfs/gallery/actual_image/preview: image$png.png delete mode 100644 root/games/vision-training-kit/description: text$plain create mode 100644 root/games/vision_training_kit/description: text$plain create mode 100755 root/games/vision_training_kit/icon: image$png.png (limited to 'root') diff --git a/root/Tupdefault.lua b/root/Tupdefault.lua index 5cd45a9..039edf0 100644 --- a/root/Tupdefault.lua +++ b/root/Tupdefault.lua @@ -1,12 +1,6 @@ -LUA_PATH = {} -LUA_PATH += root .. '/?.lua' -LUA_PATH += root .. '/?.server.lua' -LUA_PATH += root .. '/?/init.lua' -LUA_PATH += root .. '/?/init.server.lua' -LUA_PATH = 'LUA_PATH="' .. table.concat(LUA_PATH, ';') .. '"' - -bundle = LUA_PATH .. ' moon ' .. root .. '/bundle_fileder.moon' -render = LUA_PATH .. ' moon ' .. root .. '/render.moon' +local LUA_PATH = lua_path() +bundle = LUA_PATH .. ' moon ' .. build .. '/bundle_fileder.moon' +render = LUA_PATH .. ' moon ' .. build .. '/render_fileder.moon' -- @TODO: whish there was a better glob for this? facets = tup.glob '*$*' @@ -20,7 +14,7 @@ facets += root .. '/' tup.rule( facets, - '^ BNDL %d^ ' .. bundle .. ' %d ' .. inputs .. ' -- %', + '^ BNDL %d^ ' .. bundle .. ' ' .. root .. ' %d ' .. inputs .. ' -- %', { '$bundle.lua', '../' } ) diff --git a/root/articles/mmmfs/gallery/actual_image/image$png.png b/root/articles/mmmfs/gallery/actual_image/image$png.png new file mode 100644 index 0000000..b499413 Binary files /dev/null and b/root/articles/mmmfs/gallery/actual_image/image$png.png differ diff --git a/root/articles/mmmfs/gallery/actual_image/preview: image$png.png b/root/articles/mmmfs/gallery/actual_image/preview: image$png.png new file mode 100644 index 0000000..f9dbfad Binary files /dev/null and b/root/articles/mmmfs/gallery/actual_image/preview: image$png.png differ diff --git a/root/games/vision-training-kit/description: text$plain b/root/games/vision-training-kit/description: text$plain deleted file mode 100644 index 0511e77..0000000 --- a/root/games/vision-training-kit/description: text$plain +++ /dev/null @@ -1 +0,0 @@ -a puzzle game based on a famicase cartridge design. diff --git a/root/games/vision_training_kit/description: text$plain b/root/games/vision_training_kit/description: text$plain new file mode 100644 index 0000000..0511e77 --- /dev/null +++ b/root/games/vision_training_kit/description: text$plain @@ -0,0 +1 @@ +a puzzle game based on a famicase cartridge design. diff --git a/root/games/vision_training_kit/icon: image$png.png b/root/games/vision_training_kit/icon: image$png.png new file mode 100755 index 0000000..ef73861 Binary files /dev/null and b/root/games/vision_training_kit/icon: image$png.png differ -- cgit v1.2.3