Skip to content

Commit

Permalink
make: replace tarantoolctl with tt
Browse files Browse the repository at this point in the history
  • Loading branch information
ligurio committed Jul 7, 2024
1 parent cd753f0 commit 00d2d60
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
with:
tarantool-version: "2.10"

- name: Setup tt
run: |
curl -L https://tarantool.io/release/3/installer.sh | bash
sudo apt-get -y install tt
- name: Setup dependencies
run: make deps

Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
# `make -f /path/to/project/Makefile`.
MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
PROJECT_DIR := $(patsubst %/,%,$(dir $(MAKEFILE_PATH)))
ROCKS_BIN_DIR := $(shell tarantoolctl rocks config deploy_bin_dir)
ROCKS_BIN_DIR := $(shell tt rocks config deploy_bin_dir)

all: test

deps:
@tarantoolctl rocks install luacheck 0.25.0 --server=https://rocks.tarantool.org/
@tarantoolctl rocks install luatest --server=https://rocks.tarantool.org/
@tarantoolctl rocks install https://raw.githubusercontent.com/ligurio/molly/dev/molly-scm-1.rockspec
@tt rocks install luacheck 0.25.0 --server=https://rocks.tarantool.org/
@tt rocks install luatest --server=https://rocks.tarantool.org/
@tt rocks install https://raw.githubusercontent.com/ligurio/molly/dev/molly-scm-1.rockspec

check: luacheck

Expand Down

0 comments on commit 00d2d60

Please sign in to comment.