Compare commits

..

5 commits

3 changed files with 44 additions and 30 deletions

View file

@ -1,7 +1,8 @@
{ {
"name": "silverstripe/installer", "name": "manuth/nuth.ch",
"type": "silverstripe-recipe", "type": "silverstripe-recipe",
"description": "The SilverStripe Framework Installer", "description": "The source code of nuth.ch",
"version": "1.0",
"require": { "require": {
"php": ">=5.6.0", "php": ">=5.6.0",
"silverstripe/recipe-plugin": "^1.2", "silverstripe/recipe-plugin": "^1.2",

52
Website/composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "216b2d1f198ed8e6637fdc23c721d25c", "content-hash": "a4dcebfb359ae2174165b199f26c9ef2",
"packages": [ "packages": [
{ {
"name": "composer/ca-bundle", "name": "composer/ca-bundle",
@ -431,16 +431,16 @@
}, },
{ {
"name": "league/flysystem", "name": "league/flysystem",
"version": "1.0.50", "version": "1.0.51",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/flysystem.git", "url": "https://github.com/thephpleague/flysystem.git",
"reference": "dab4e7624efa543a943be978008f439c333f2249" "reference": "755ba7bf3fb9031e6581d091db84d78275874396"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/dab4e7624efa543a943be978008f439c333f2249", "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/755ba7bf3fb9031e6581d091db84d78275874396",
"reference": "dab4e7624efa543a943be978008f439c333f2249", "reference": "755ba7bf3fb9031e6581d091db84d78275874396",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -511,7 +511,7 @@
"sftp", "sftp",
"storage" "storage"
], ],
"time": "2019-02-01T08:50:36+00:00" "time": "2019-03-30T13:22:34+00:00"
}, },
{ {
"name": "m1/env", "name": "m1/env",
@ -2110,16 +2110,16 @@
}, },
{ {
"name": "symfony/cache", "name": "symfony/cache",
"version": "v3.4.23", "version": "v3.4.24",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/cache.git", "url": "https://github.com/symfony/cache.git",
"reference": "aa02b67f961a15cef21f21d293afcac574a62118" "reference": "669270dc501fe3c5addcc306962958334c19652c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/cache/zipball/aa02b67f961a15cef21f21d293afcac574a62118", "url": "https://api.github.com/repos/symfony/cache/zipball/669270dc501fe3c5addcc306962958334c19652c",
"reference": "aa02b67f961a15cef21f21d293afcac574a62118", "reference": "669270dc501fe3c5addcc306962958334c19652c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2176,11 +2176,11 @@
"caching", "caching",
"psr6" "psr6"
], ],
"time": "2019-02-23T15:06:07+00:00" "time": "2019-04-01T07:08:40+00:00"
}, },
{ {
"name": "symfony/config", "name": "symfony/config",
"version": "v3.4.23", "version": "v3.4.24",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/config.git", "url": "https://github.com/symfony/config.git",
@ -2244,7 +2244,7 @@
}, },
{ {
"name": "symfony/filesystem", "name": "symfony/filesystem",
"version": "v4.2.4", "version": "v4.2.5",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/filesystem.git", "url": "https://github.com/symfony/filesystem.git",
@ -2294,7 +2294,7 @@
}, },
{ {
"name": "symfony/finder", "name": "symfony/finder",
"version": "v3.4.23", "version": "v3.4.24",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/finder.git", "url": "https://github.com/symfony/finder.git",
@ -2580,16 +2580,16 @@
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",
"version": "v3.4.23", "version": "v3.4.24",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/yaml.git", "url": "https://github.com/symfony/yaml.git",
"reference": "57f1ce82c997f5a8701b89ef970e36bb657fd09c" "reference": "212a27b731e5bfb735679d1ffaac82bd6a1dc996"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/57f1ce82c997f5a8701b89ef970e36bb657fd09c", "url": "https://api.github.com/repos/symfony/yaml/zipball/212a27b731e5bfb735679d1ffaac82bd6a1dc996",
"reference": "57f1ce82c997f5a8701b89ef970e36bb657fd09c", "reference": "212a27b731e5bfb735679d1ffaac82bd6a1dc996",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2635,7 +2635,7 @@
], ],
"description": "Symfony Yaml Component", "description": "Symfony Yaml Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"time": "2019-02-23T15:06:07+00:00" "time": "2019-03-25T07:48:46+00:00"
}, },
{ {
"name": "webonyx/graphql-php", "name": "webonyx/graphql-php",
@ -2739,20 +2739,20 @@
}, },
{ {
"name": "myclabs/deep-copy", "name": "myclabs/deep-copy",
"version": "1.8.1", "version": "1.9.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/myclabs/DeepCopy.git", "url": "https://github.com/myclabs/DeepCopy.git",
"reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8" "reference": "78af75148f9fdd34ea727c8b529a9b4a8f7b740c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8", "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/78af75148f9fdd34ea727c8b529a9b4a8f7b740c",
"reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8", "reference": "78af75148f9fdd34ea727c8b529a9b4a8f7b740c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.1" "php": "^7.2"
}, },
"replace": { "replace": {
"myclabs/deep-copy": "self.version" "myclabs/deep-copy": "self.version"
@ -2760,6 +2760,8 @@
"require-dev": { "require-dev": {
"doctrine/collections": "^1.0", "doctrine/collections": "^1.0",
"doctrine/common": "^2.6", "doctrine/common": "^2.6",
"phpstan/phpstan": "^0.9.2",
"phpstan/phpstan-phpunit": "^0.9.4",
"phpunit/phpunit": "^7.1" "phpunit/phpunit": "^7.1"
}, },
"type": "library", "type": "library",
@ -2783,7 +2785,7 @@
"object", "object",
"object graph" "object graph"
], ],
"time": "2018-06-11T23:09:50+00:00" "time": "2018-10-30T00:14:44+00:00"
}, },
{ {
"name": "phpdocumentor/reflection-common", "name": "phpdocumentor/reflection-common",

17
scripts/install.sh Normal file → Executable file
View file

@ -2,8 +2,19 @@
cd $(dirname $0) cd $(dirname $0)
cd .. cd ..
tempDir=$(mktemp -d) tempDir=$(mktemp -d)
sourceDir="./Website" sourceDir="."
find . -name "*" -and -not -name "." -and -not -name ".env" -and -not -path "$sourceDir/*" -and -not -path $sourceDir -exec rm -rf {} +
rsync -a --delete ./src/ $tempDir find $sourceDir \
-name "*" -and \
-not \( \
\( \
-path "Website"
\) \
-prune \
\) -and \
-not -name ".env" \
-print
rsync -a --delete $sourceDir $tempDir
rsync -a --delete $tempDir/ . rsync -a --delete $tempDir/ .
rm -rf $tempDir rm -rf $tempDir