jdecool/scaleway-runtimepublic Fork
⑂ v0.3.0
Commits
⬇ Clone ▾
git clone https://git.rickub.com/jdecool/scaleway-runtime.git
git clone ssh://git@rickub.com/jdecool/scaleway-runtime.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
fix(example): let link-runtime replace an installed runtime 67c2d80Unverified · on v0.3.0 · Jérémy DECOOL · 10d ago
composer.json · 39 lines · 1.3 KBJSON Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
    "name": "jdecool/scaleway-runtime-example",
    "description": "Demo Symfony application running on Scaleway Serverless Functions",
    "type": "project",
    "license": "MIT",
    "require": {
        "php": ">=8.4",
        "jdecool/scaleway-runtime": "dev-main",
        "symfony/console": "^8.1",
        "symfony/dotenv": "^8.1",
        "symfony/framework-bundle": "^8.1",
        "symfony/runtime": "^8.1",
        "symfony/yaml": "^8.1"
    },
    "autoload": {
        "psr-4": {
            "App\\": "src/"
        }
    },
    "config": {
        "allow-plugins": {
            "symfony/runtime": true
        },
        "sort-packages": true
    },
    "scripts": {
        "post-install-cmd": [
            "@php bin/console cache:warmup --env=prod"
        ],
        "link-runtime": [
            "rm -rf vendor/jdecool/scaleway-runtime",
            "@composer config repositories.local '{\"type\": \"path\", \"url\": \"..\", \"options\": {\"versions\": {\"jdecool/scaleway-runtime\": \"dev-main\"}}}'",
            "@composer update jdecool/scaleway-runtime"
        ]
    },
    "scripts-descriptions": {
        "link-runtime": "Installs jdecool/scaleway-runtime from the parent directory, replacing an installed copy, which Composer refuses to replace from a path containing it: never commit the repository it adds"
    }
}