Skip to content

Commit 0bcde27

Browse files
committed
small fixes
1 parent fb2d66c commit 0bcde27

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ _ide*
2828
.php_cs.cache
2929

3030
clover.xml
31+
*.swp

makefile

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,20 @@ dist: clean
77
@echo "packaging..."
88
@mkdir Lychee-v$(VERSION)
99
@mkdir Lychee-v$(VERSION)/public
10+
@mkdir Lychee-v$(VERSION)/public/dist
1011
@mkdir Lychee-v$(VERSION)/public/docs
12+
@mkdir Lychee-v$(VERSION)/public/img
1113
@mkdir Lychee-v$(VERSION)/public/Lychee-front
1214
@mkdir Lychee-v$(VERSION)/public/uploads
1315
@mkdir Lychee-v$(VERSION)/public/uploads/small
1416
@mkdir Lychee-v$(VERSION)/public/uploads/medium
1517
@mkdir Lychee-v$(VERSION)/public/uploads/big
1618
@mkdir Lychee-v$(VERSION)/public/uploads/thumb
1719
@mkdir Lychee-v$(VERSION)/public/uploads/import
20+
@mkdir Lychee-v$(VERSION)/public/sym
1821
@cp -r public/dist Lychee-v$(VERSION)/public
1922
@cp -r public/docs/* Lychee-v$(VERSION)/public/docs
23+
@cp -r public/img/* Lychee-v$(VERSION)/public/img
2024
@cp -r public/Lychee-front/images Lychee-v$(VERSION)/public/Lychee-front/images
2125
@cp -r public/Lychee-front/scripts Lychee-v$(VERSION)/public/Lychee-front/scripts
2226
@cp -r public/Lychee-front/styles Lychee-v$(VERSION)/public/Lychee-front/styles
@@ -51,16 +55,17 @@ dist: clean
5155
@cp -r readme.md Lychee-v$(VERSION)
5256
@cp -r server.php Lychee-v$(VERSION)
5357
@cp -r version.md Lychee-v$(VERSION)
54-
@rm Lychee-v$(VERSION)/storage/framework/sessions/*
55-
@rm Lychee-v$(VERSION)/storage/framework/views/*
56-
@rm Lychee-v$(VERSION)/storage/logs/*
58+
@rm Lychee-v$(VERSION)/storage/framework/sessions/* 2> /dev/null || true
59+
@rm Lychee-v$(VERSION)/storage/framework/views/* 2> /dev/null || true
60+
@rm Lychee-v$(VERSION)/storage/logs/* 2> /dev/null || true
5761
@touch Lychee-v$(VERSION)/storage/logs/laravel.log
5862
@touch Lychee-v$(VERSION)/public/dist/user.css
5963
@touch Lychee-v$(VERSION)/public/uploads/big/index.html
6064
@touch Lychee-v$(VERSION)/public/uploads/small/index.html
6165
@touch Lychee-v$(VERSION)/public/uploads/medium/index.html
6266
@touch Lychee-v$(VERSION)/public/uploads/thumb/index.html
6367
@touch Lychee-v$(VERSION)/public/uploads/import/index.html
68+
@touch Lychee-v$(VERSION)/public/sym/index.html
6469
@zip -r Lychee-v$(VERSION).zip Lychee-v$(VERSION)
6570

6671
contrib_add:

version.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.0-alpha.1
1+
4.0.0-beta.1

0 commit comments

Comments
 (0)