Skip to content

Commit

Permalink
refactor: remove lua md5 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
diegonehab committed Oct 24, 2023
1 parent d6784fa commit b90d3fb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ RUN luarocks install --lua-version=5.4 luasocket && \
luarocks install --lua-version=5.4 luasec && \
luarocks install --lua-version=5.4 luaposix && \
luarocks install --lua-version=5.4 lpeg && \
luarocks install --lua-version=5.4 md5 && \
luarocks install --lua-version=5.4 dkjson && \
luarocks install --lua-version=5.4 luacheck && \
cargo install stylua@0.18.1 --features lua54
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ sudo luarocks install --lua-version=5.4 dkjson
sudo luarocks install --lua-version=5.4 luasocket
sudo luarocks install --lua-version=5.4 luasec
sudo luarocks install --lua-version=5.4 luaposix
sudo luarocks install --lua-version=5.4 md5
```
#### MacOS

Expand All @@ -58,7 +57,6 @@ sudo luarocks install --lua-version=5.4 dkjson
sudo luarocks install --lua-version=5.4 luasocket
sudo luarocks install --lua-version=5.4 luasec
sudo luarocks install --lua-version=5.4 luaposix
sudo luarocks install --lua-version=5.4 md5
```

##### Homebrew
Expand All @@ -69,7 +67,6 @@ luarocks --lua-dir=$(brew --prefix)/opt/lua@5.4 install dkjson
luarocks --lua-dir=$(brew --prefix)/opt/lua@5.4 install luasocket
luarocks --lua-dir=$(brew --prefix)/opt/lua@5.4 install luasec
luarocks --lua-dir=$(brew --prefix)/opt/lua@5.4 install luaposix
luarocks --lua-dir=$(brew --prefix)/opt/lua@5.4 install md5
```

For emulator scripts to work it is expected that `lua5.4` binary is available in the system PATH. If operating system/package manager that you are using provides only `lua` or lua binary named in a different way (e.g. on `Homebrew`), please create symbolic link or alias `lua5.4`.
Expand Down
1 change: 0 additions & 1 deletion src/tests/machine-test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

local cartesi = require("cartesi")
local test_util = require("tests.util")
local md5 = require("md5")

-- Note: for grpc machine test to work, remote-cartesi-machine must run on
-- same computer and remote-cartesi-machine execution path must be provided
Expand Down

0 comments on commit b90d3fb

Please sign in to comment.