From 5eb06ccafba67d9eecd842bfa8ab4fa0d94bc2a6 Mon Sep 17 00:00:00 2001 From: Aire-One Date: Sun, 30 Jan 2022 14:51:32 +0100 Subject: [PATCH] chore(consumer) move it to a project --- consumer-project/.gitignore | 4 ++++ consumer-project/consumer-0.1-1.rockspec | 19 +++++++++++++++++++ consumer.lua => consumer-project/consumer.lua | 0 3 files changed, 23 insertions(+) create mode 100644 consumer-project/.gitignore create mode 100644 consumer-project/consumer-0.1-1.rockspec rename consumer.lua => consumer-project/consumer.lua (100%) diff --git a/consumer-project/.gitignore b/consumer-project/.gitignore new file mode 100644 index 0000000..0771553 --- /dev/null +++ b/consumer-project/.gitignore @@ -0,0 +1,4 @@ +/luarocks +/lua +/lua_modules +/.luarocks diff --git a/consumer-project/consumer-0.1-1.rockspec b/consumer-project/consumer-0.1-1.rockspec new file mode 100644 index 0000000..8f9285b --- /dev/null +++ b/consumer-project/consumer-0.1-1.rockspec @@ -0,0 +1,19 @@ +rockspec_format = "3.0" +package = "consumer" +version = "0.1-1" +source = { + url = "*** please add URL for source tarball, zip or repository here ***" +} +description = { + homepage = "*** please enter a project homepage ***", + license = "*** please specify a license ***" +} +dependencies = { + "calculon", -- `./luarocks install ../calculon-0.1-1.rockspec` +} +build = { + type = "builtin", + modules = { + consumer = "consumer.lua" + } +} diff --git a/consumer.lua b/consumer-project/consumer.lua similarity index 100% rename from consumer.lua rename to consumer-project/consumer.lua