# Install the dependencies in the local tree (aka project directory). This is # useful for development, since we may require a different version of a # dependency than the one installed in the system. # awesome-slot is on heavy development, so we need to install the dependencies # from the local source code. install: cd /home/aireone/documents/prog/awesome-slot \ && luarocks \ --lua-version 5.4 \ make \ --tree /home/aireone/documents/prog/awesomerc/lua_modules luarocks \ --lua-version 5.4 \ install \ --tree lua_modules \ --only-deps \ awesomerc-dev-1.rockspec clean: rm -rf lua_modules dev: scripts/run.sh start test: luarocks test # Install the rock in the local tree (aka user home directory) deploy: luarocks --local build --force mkdir -p ~/.config/awesome cp -rv config/awesome ~/.config try-current: scripts/run.sh try-current luacheck: luacheck . stylua: stylua --check . # ldoc-dryrun: # $(eval TMP := $(shell mktemp -d)) # ldoc --fatalwarnings --dir $(TMP) . # rm -rf $(TMP) cspell: cspell lint . lint-rockspec: luarocks lint awesomerc-dev-1.rockspec # For now: # - we don't run ldoc-dryrun because we don't have documentation # - we don't run cspell because there are too many problems I don't want to fix now since the code will change # lint: luacheck stylua ldoc-dryrun cspell lint-rockspec lint: luacheck stylua lint-rockspec