Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGIFX] Correctly build complete extension before TER upload #240

Merged
merged 1 commit into from
Jul 16, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/.Build/*
/Classes/Hook/ExtensionInstallation.php
/Libraries/*
/ext_emconf.php
/ext_icon.png
Expand Down
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ after_script:
# Cleanup before we upload
git reset --hard HEAD && git clean -fx

# Create phar libs
composer create-libs
# Build extension files
composer set-version $TRAVIS_TAG
composer build-extension

# Upload
TAG_MESSAGE=`git tag -n10 -l $TRAVIS_TAG | sed 's/^[0-9.]*[ ]*//g'`
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,17 @@
"Scripts/typo3cms"
],
"scripts": {
"set-version": [
"Helhum\\Typo3Console\\Composer\\InstallerScripts::setVersion"
],
"create-libs": [
"mkdir -p Libraries",
"@composer global require clue/phar-composer",
"[ -f Libraries/symfony-process.phar ] || $HOME/.composer/vendor/bin/phar-composer build 'symfony/process=~2.7.0' Libraries/symfony-process.phar",
"chmod -x Libraries/*"
],
"set-version": [
"Helhum\\Typo3Console\\Composer\\InstallerScripts::setVersion"
],
"build-extension": [
"@set-version",
"@create-libs",
"cp -f Resources/Private/ExtensionArtifacts/* . # We ignore arguments: "
]
},
Expand Down