mervick / aes-everywhere

Aes Everywhere - Cross Language AES 256 Encryption Library (Bash, Powershell, C#, Dart, GoLang, Java, JavaScript, Lua, PHP, Python, Ruby, Swift)
Other
474 stars 169 forks source link

lua install error #28

Open pandakill-git opened 4 years ago

pandakill-git commented 4 years ago

cp: can't stat 'src/aes256.lua': No such file or directory

Error: Build error: Failed installing src/aes256.lua in /usr/local/openresty/luajit/lib/luarocks/rocks-5.1/aes_everywhere/1.1.3-6/lua/aes_everywhere.lua: Failed copying src/aes256.lua to /usr/local/openresty/luajit/lib/luarocks/rocks-5.1/aes_everywhere/1.1.3-6/lua/aes_everywhere.lua

pandakill-git commented 4 years ago

build = { type = "builtin", modules = { aes_everywhere = "src/aes256.lua" } }

I think aes_everywhere = "src/aes256.lua" should be aes_everywhere = "lua/src/aes256.lua"

ghost commented 3 years ago

@mervick please change aes_everywhere = "src/aes256.lua"

mervick commented 3 years ago

@ricardoG08 change to what? https://github.com/mervick/aes-everywhere/blob/0abb712041a57c98dbb175d4339ec45c7ccbcf5d/lua/package-template.rockspec#L24

ghost commented 3 years ago

aes_everywhere = "src/aes256.lua" for aes_everywhere = "lua/src/aes256.lua", luarocks not found aes256.lua for this route

mervick commented 3 years ago

@ricardoG08 fixed, try it now