Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mailslurp/examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmahoney committed Aug 7, 2024
2 parents e12b7d1 + e6ed57f commit 543f0fa
Show file tree
Hide file tree
Showing 11 changed files with 4,646 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .build/shortcodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,14 @@ async function getFileTree(path: string): Promise<string> {
commentEnd: "#</gen>",
highlight: "ruby",
},
{
paths: await files(
"/php-pest-wordpress-theme-test/*.php",
),
commentStart: "//<gen>",
commentEnd: "//</gen>",
highlight: "php",
},
{
paths: await files(
"/php-composer-phpunit/*.php",
Expand Down
5 changes: 4 additions & 1 deletion csharp-dotnet-core-8-smtpclient/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
bin
objSmtpClientMailKitExample/SmtpClientMailKitExample.sln.DotSettings.user
obj
SmtpClientMailKitExample/SmtpClientMailKitExample.sln.DotSettings.user
/obj/
SmtpClientMailKitExample/SmtpClientMailKitExample/obj/
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
},
"type": "module",
"scripts": {
"shortcodes": "node --loader @swc-node/register/esm .build/shortcodes.ts",
"readme": "node --loader @swc-node/register/esm .build/readme.ts"
"shortcodes": "node --import tsx .build/shortcodes.ts",
"readme": "node --import tsx .build/readme.ts"
},
"devDependencies": {
"@swc-node/register": "^1.6.8",
Expand Down
1 change: 1 addition & 0 deletions php-pest-wordpress-theme-test/.env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
API_KEY=
5 changes: 5 additions & 0 deletions php-pest-wordpress-theme-test/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
composer.phar
.env
geckodriver
selenium-server.jar
vendor
27 changes: 27 additions & 0 deletions php-pest-wordpress-theme-test/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-include ../.env

DRIVER_LOCATION=geckodriver
DRIVER_URL=https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz

$(DRIVER_LOCATION):
curl -s -L "$(DRIVER_URL)" | tar -xz
chmod +x $(DRIVER_LOCATION)

SELENIUM_LOCATION=selenium-server.jar
SELENIUM_URL=https://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.59.jar

$(SELENIUM_LOCATION):
curl -L --output $(SELENIUM_LOCATION) $(SELENIUM_URL)

composer:
./install.sh

update:
php composer.phar update

install:
php composer.phar install

test:
./vendor/bin/pest

15 changes: 15 additions & 0 deletions php-pest-wordpress-theme-test/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "mailslurp/php-pest-wordpress-theme-test",
"require-dev": {
"pestphp/pest": "^2.34"
},
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"require": {
"mailslurp/mailslurp-client-php": "^15.19",
"vlucas/phpdotenv": "^5.6"
}
}
Loading

0 comments on commit 543f0fa

Please sign in to comment.