mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Ignore cypress in git-export + install composer deps on release
This commit is contained in:
parent
ca8db22639
commit
1a2e46f09b
5
.gitattributes
vendored
5
.gitattributes
vendored
@ -6,4 +6,9 @@
|
|||||||
_config.yml export-ignore
|
_config.yml export-ignore
|
||||||
release.sh export-ignore
|
release.sh export-ignore
|
||||||
|
|
||||||
|
# cypress
|
||||||
|
cypress export-ignore
|
||||||
|
cypress.config.js export-ignore
|
||||||
|
cypress.env.json
|
||||||
|
|
||||||
*.sh text eol=lf
|
*.sh text eol=lf
|
||||||
|
@ -22,7 +22,7 @@ if [ $1 = "prepare" ]; then
|
|||||||
mkdir -p tmp
|
mkdir -p tmp
|
||||||
|
|
||||||
# get myaac from git archive
|
# get myaac from git archive
|
||||||
git archive --format zip --output tmp/myaac.zip master
|
git archive --format zip --output tmp/myaac.zip 0.9
|
||||||
|
|
||||||
cd tmp/ || exit
|
cd tmp/ || exit
|
||||||
|
|
||||||
@ -35,6 +35,11 @@ if [ $1 = "prepare" ]; then
|
|||||||
unzip -q myaac.zip -d $dir
|
unzip -q myaac.zip -d $dir
|
||||||
rm myaac.zip
|
rm myaac.zip
|
||||||
|
|
||||||
|
cd $dir || exit
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
composer install
|
||||||
|
|
||||||
echo "Now you can make changes to $dir. When you are ready, type 'release.sh pack'"
|
echo "Now you can make changes to $dir. When you are ready, type 'release.sh pack'"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user