Skip to content

Commit cfb708b

Browse files
authored
Release/1.2.1 (#10)
1 parent a9c7789 commit cfb708b

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Tiny Blocks
3+
Copyright (c) 2025 Tiny Blocks
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Makefile

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1+
ifeq ($(OS),Windows_NT)
2+
PWD := $(shell cd)
3+
else
4+
PWD := $(shell pwd -L)
5+
endif
6+
7+
ARCH := $(shell uname -m)
8+
PLATFORM :=
9+
10+
ifeq ($(ARCH),arm64)
11+
PLATFORM := --platform=linux/amd64
12+
endif
13+
114
PHP_IMAGE = gustavofreze/php:8.3
2-
DOCKER_RUN = docker run -u root --rm -it --network=tiny-blocks --name test-lib \
15+
DOCKER_RUN = docker run ${PLATFORM} -u root --rm -it --network=tiny-blocks --name test-lib \
316
-v ${PWD}:/app \
417
-v ${PWD}/tests/Integration/Database/Migrations:/test-adm-migrations \
518
-v /var/run/docker.sock:/var/run/docker.sock \

0 commit comments

Comments
 (0)