Skip to content

Commit

Permalink
Updated default version of Tailwind CLI to 3.3.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverandrich committed Dec 5, 2023
1 parent 70c6dea commit 44b967f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.7.1

- Bumped default Tailwind CLI version to 3.3.6.

## 2.7.0

- Added more command line arguments to `tailwind runserver` and `tailwind runserver_plus`.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "django-tailwind-cli"
version = "2.7.0"
version = "2.7.1"
description = "Django and Tailwind integration based on the prebuilt Tailwind CSS CLI."
authors = ["Oliver Andrich <[email protected]>"]
readme = "README.md"
Expand Down
14 changes: 7 additions & 7 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ def configure_settings(settings: LazySettings):


def test_default_config(config: Config):
assert "3.3.5" == config.tailwind_version
assert "3.3.6" == config.tailwind_version
assert Path("~/.local/bin/").expanduser() == config.cli_path
assert config.src_css is None
assert "css/tailwind.css" == config.dist_css
assert "tailwind.config.js" == config.config_file
assert "3.3.5" in config.get_download_url()
assert "3.3.5" in str(config.get_full_cli_path())
assert "3.3.6" in config.get_download_url()
assert "3.3.6" in str(config.get_full_cli_path())


def test_validate_settigns(config: Config, settings: LazySettings):
Expand Down Expand Up @@ -117,19 +117,19 @@ def test_get_full_cli_path(config: Config, mocker: MockerFixture):

platform_system.return_value = "Windows"
platform_machine.return_value = "x86_64"
assert str(config.get_full_cli_path()).endswith("tailwindcss-windows-x64-3.3.5.exe")
assert str(config.get_full_cli_path()).endswith("tailwindcss-windows-x64-3.3.6.exe")

platform_system.return_value = "Windows"
platform_machine.return_value = "amd64"
assert str(config.get_full_cli_path()).endswith("tailwindcss-windows-x64-3.3.5.exe")
assert str(config.get_full_cli_path()).endswith("tailwindcss-windows-x64-3.3.6.exe")

platform_system.return_value = "Darwin"
platform_machine.return_value = "aarch64"
assert str(config.get_full_cli_path()).endswith("tailwindcss-macos-arm64-3.3.5")
assert str(config.get_full_cli_path()).endswith("tailwindcss-macos-arm64-3.3.6")

platform_system.return_value = "Darwin"
platform_machine.return_value = "arm64"
assert str(config.get_full_cli_path()).endswith("tailwindcss-macos-arm64-3.3.5")
assert str(config.get_full_cli_path()).endswith("tailwindcss-macos-arm64-3.3.6")


def test_get_full_cli_path_with_existing_executable(
Expand Down

0 comments on commit 44b967f

Please sign in to comment.