-
-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
88 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
VERSION=`cat version.md` | ||
FILES=$(wildcard *) | ||
|
||
.PHONY: dist | ||
|
||
dist: clean | ||
@echo "packaging..." | ||
@mkdir Lychee-v$(VERSION) | ||
@mkdir Lychee-v$(VERSION)/public | ||
@mkdir Lychee-v$(VERSION)/public/docs | ||
@mkdir Lychee-v$(VERSION)/public/Lychee-front | ||
@mkdir Lychee-v$(VERSION)/public/uploads | ||
@mkdir Lychee-v$(VERSION)/public/uploads/small | ||
@mkdir Lychee-v$(VERSION)/public/uploads/medium | ||
@mkdir Lychee-v$(VERSION)/public/uploads/big | ||
@mkdir Lychee-v$(VERSION)/public/uploads/thumb | ||
@mkdir Lychee-v$(VERSION)/public/uploads/import | ||
@cp -r public/dist Lychee-v$(VERSION)/public | ||
@cp -r public/docs/* Lychee-v$(VERSION)/public/docs | ||
@cp -r public/Lychee-front/images Lychee-v$(VERSION)/public/Lychee-front/images | ||
@cp -r public/Lychee-front/scripts Lychee-v$(VERSION)/public/Lychee-front/scripts | ||
@cp -r public/Lychee-front/styles Lychee-v$(VERSION)/public/Lychee-front/styles | ||
@cp -r public/Lychee-front/API.md Lychee-v$(VERSION)/public/Lychee-front | ||
@cp -r public/Lychee-front/gulpfile.js Lychee-v$(VERSION)/public/Lychee-front | ||
@cp -r public/Lychee-front/LICENSE Lychee-v$(VERSION)/public/Lychee-front | ||
@cp -r public/Lychee-front/package.json Lychee-v$(VERSION)/public/Lychee-front | ||
@cp -r public/Lychee-front/README.md Lychee-v$(VERSION)/public/Lychee-front | ||
@cp -r app Lychee-v$(VERSION) | ||
@cp -r bootstrap Lychee-v$(VERSION) | ||
@cp -r config Lychee-v$(VERSION) | ||
@cp -r database Lychee-v$(VERSION) | ||
@cp -r resources Lychee-v$(VERSION) | ||
@cp -r routes Lychee-v$(VERSION) | ||
@cp -r storage Lychee-v$(VERSION) | ||
@cp -r tests Lychee-v$(VERSION) | ||
@cp -r vendor Lychee-v$(VERSION) 2> /dev/null || true | ||
@cp -r public/.htaccess Lychee-v$(VERSION)/public | ||
@cp -r public/.gitignore Lychee-v$(VERSION)/public | ||
@cp -r public/.user.ini Lychee-v$(VERSION)/public | ||
@cp -r public/CODE_OF_CONDUCT.md Lychee-v$(VERSION)/public | ||
@cp -r public/favicon.ico Lychee-v$(VERSION)/public | ||
@cp -r public/index.php Lychee-v$(VERSION)/public | ||
@cp -r public/robots.txt Lychee-v$(VERSION)/public | ||
@cp -r public/web.config Lychee-v$(VERSION)/public | ||
@cp -r .env.example Lychee-v$(VERSION) | ||
@cp -r artisan Lychee-v$(VERSION) | ||
@cp -r composer.json Lychee-v$(VERSION) | ||
@cp -r composer.lock Lychee-v$(VERSION) | ||
@cp -r LICENSE Lychee-v$(VERSION) | ||
@cp -r phpunit.xml Lychee-v$(VERSION) | ||
@cp -r readme.md Lychee-v$(VERSION) | ||
@cp -r server.php Lychee-v$(VERSION) | ||
@cp -r version.md Lychee-v$(VERSION) | ||
@rm Lychee-v$(VERSION)/storage/framework/sessions/* | ||
@rm Lychee-v$(VERSION)/storage/framework/views/* | ||
@rm Lychee-v$(VERSION)/storage/logs/* | ||
@touch Lychee-v$(VERSION)/storage/logs/laravel.log | ||
@touch Lychee-v$(VERSION)/public/dist/user.css | ||
@touch Lychee-v$(VERSION)/public/uploads/big/index.html | ||
@touch Lychee-v$(VERSION)/public/uploads/small/index.html | ||
@touch Lychee-v$(VERSION)/public/uploads/medium/index.html | ||
@touch Lychee-v$(VERSION)/public/uploads/thumb/index.html | ||
@touch Lychee-v$(VERSION)/public/uploads/import/index.html | ||
@zip -r Lychee-v$(VERSION).zip Lychee-v$(VERSION) | ||
|
||
contrib_add: | ||
@echo "npx all-contributors-cli add <user> <bug|code|design|doc|question|tool|test|translation>" | ||
|
||
contrib_generate: | ||
npx all-contributors-cli generate | ||
|
||
contrib_check: | ||
npx all-contributors-cli check | ||
|
||
clean: | ||
@rm -r Lychee-v* 2> /dev/null || true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
4.0.0-alpha.1 |