diff --git a/LICENSE b/LICENSE index 98fb938..33586a8 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 Tiny Blocks +Copyright (c) 2025 Tiny Blocks Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Makefile b/Makefile index 49b4436..cc9f934 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,18 @@ +ifeq ($(OS),Windows_NT) + PWD := $(shell cd) +else + PWD := $(shell pwd -L) +endif + +ARCH := $(shell uname -m) +PLATFORM := + +ifeq ($(ARCH),arm64) + PLATFORM := --platform=linux/amd64 +endif + PHP_IMAGE = gustavofreze/php:8.3 -DOCKER_RUN = docker run -u root --rm -it --network=tiny-blocks --name test-lib \ +DOCKER_RUN = docker run ${PLATFORM} -u root --rm -it --network=tiny-blocks --name test-lib \ -v ${PWD}:/app \ -v ${PWD}/tests/Integration/Database/Migrations:/test-adm-migrations \ -v /var/run/docker.sock:/var/run/docker.sock \