Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sygal-import-ws
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
sygal-import-ws
Commits
6d9b6039
Commit
6d9b6039
authored
Dec 9, 2020
by
Bertrand Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
Déplacement des commandes d'install.sh vers composer.json
parent
0d6fe293
No related branches found
No related tags found
No related merge requests found
Pipeline
#8826
failed
Dec 9, 2020
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
composer.json
+11
-1
11 additions, 1 deletion
composer.json
install.sh
+0
-14
0 additions, 14 deletions
install.sh
with
11 additions
and
15 deletions
composer.json
+
11
−
1
View file @
6d9b6039
...
...
@@ -57,6 +57,16 @@
"development-enable"
:
"zf-development-mode enable"
,
"development-status"
:
"zf-development-mode status"
,
"serve"
:
"php -S 0.0.0.0:8000 -t public/ public/index.php"
,
"test"
:
"phpunit"
"test"
:
"phpunit"
,
"post-install-cmd"
:
[
"mkdir -p data/cache && chmod -R 777 data/cache && rm -rf data/cache/*"
,
"mkdir -p data/DoctrineModule/cache && chmod -R 777 data/DoctrineModule/cache && rm -rf data/DoctrineModule/cache/*"
,
"mkdir -p data/DoctrineORMModule/Proxy && chmod -R 777 data/DoctrineORMModule/Proxy && rm -rf data/DoctrineORMModule/Proxy/*"
,
"vendor/bin/doctrine-module orm:clear-cache:query &"
,
"vendor/bin/doctrine-module orm:clear-cache:metadata &"
,
"vendor/bin/doctrine-module orm:clear-cache:result &"
,
"vendor/bin/doctrine-module orm:generate-proxies &"
]
}
}
This diff is collapsed.
Click to expand it.
install.sh
+
0
−
14
View file @
6d9b6039
...
...
@@ -10,17 +10,3 @@ composer install --no-dev --no-suggest --optimize-autoloader
# Désactivation de l'interface d'admin Apigility
composer development-disable
# Répertoires de travail de Doctrine
mkdir
-p
data/cache
&&
chmod
-R
777 data/cache
mkdir
-p
data/DoctrineModule/cache
&&
chmod
-R
777 data/DoctrineModule/cache
mkdir
-p
data/DoctrineORMModule/Proxy
&&
chmod
-R
777 data/DoctrineORMModule/Proxy
rm
-rf
data/cache/
*
rm
-rf
data/DoctrineModule/cache/
*
rm
-rf
data/DoctrineORMModule/Proxy/
*
# Commandes Doctrine
vendor/bin/doctrine-module orm:clear-cache:query
vendor/bin/doctrine-module orm:clear-cache:metadata
vendor/bin/doctrine-module orm:clear-cache:result
vendor/bin/doctrine-module orm:generate-proxies
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment