Skip to content

Commit

Permalink
fix: use user defined shell
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymonSzyszkowski committed Dec 6, 2024
1 parent f3fb1e8 commit 0fa2cff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SHELL := /bin/bash
SHELL := $(shell echo $$SHELL)
.PHONY: $(shell sed -n -e '/^$$/ { n ; /^[^ .\#][^ ]*:/ { s/:.*$$// ; p ; } ; }' $(MAKEFILE_LIST))
VERSION := $$(grep '^version' pyproject.toml | sed 's%version = "\(.*\)"%\1%')
APP_NAME := $$(grep '^name' pyproject.toml | head -1 | sed 's%name = "\(.*\)"%\1%')
Expand All @@ -9,7 +9,7 @@ version: ## display version and exit
@echo $(VERSION)

dev: ## setup development environment
./setup.sh
$(SHELL) ./setup.sh

test: ## run unit tests
@echo "Running tests..."
Expand Down
2 changes: 0 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env bash

# This script installs Rye and updates the shell configuration file.
# It also initializes current project and syncs the dependencies.
# It is intended to be run on a new system to quickly set up Rye.
Expand Down

0 comments on commit 0fa2cff

Please sign in to comment.