Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qfq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
typo3
qfq
Commits
4889f3e6
Commit
4889f3e6
authored
7 years ago
by
Rafael Ostertag
Browse files
Options
Downloads
Patches
Plain Diff
Added sonar-project.properties. Added `sonar` target to makefile.
parent
28ad1000
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
Makefile
+19
-2
19 additions, 2 deletions
Makefile
sonar-project.properties
+16
-0
16 additions, 0 deletions
sonar-project.properties
with
37 additions
and
2 deletions
.gitignore
+
2
−
0
View file @
4889f3e6
...
...
@@ -28,3 +28,5 @@
/dist/
.python_virtualenv/
.virtual_env
/.support_sonar
/.sonar_scanner
This diff is collapsed.
Click to expand it.
Makefile
+
19
−
2
View file @
4889f3e6
PHPDOC
?=
support/pear/phpdoc
JSDOC
?=
jsdoc
SONAR_SCANNER_VERSION
=
3.0.3.778
PKG_VERSION
=
$(
shell
awk
'/version/ { print $$3
}
'
extension/ext_emconf.php |
sed
"s/'//g"
)
NIGHTLY_DATE
=
$(
shell
date
'+%Y%m%d'
)
...
...
@@ -71,7 +73,7 @@ t3sphinx: .virtual_env
plantuml
:
cd
doc/diagram
;
$(
MAKE
)
bootstrap
:
.phpdocinstall .npmpackages .bowerpackages .plantuml_install .virtual_env
bootstrap
:
.phpdocinstall .npmpackages .bowerpackages .plantuml_install .virtual_env
.sonar_scanner
npm update
bower update
grunt default
...
...
@@ -90,6 +92,13 @@ phpdoc: .phpdocinstall
pear
-c
"
`
pwd
`
/support/pear.config"
install
phpdoc/phpDocumentor
touch
$@
.sonar_scanner
:
.support_sonar
cd
support/sonar
;
\
wget https://sonarsource.bintray.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-
$(
SONAR_SCANNER_VERSION
)
-linux
.zip
;
\
unzip
-o
sonar-scanner-cli-
$(
SONAR_SCANNER_VERSION
)
-linux
.zip
touch
$@
.plantuml_install
:
.support_plantuml
wget
--no-check-certificate
-O
support/plantuml/plantuml.jar
'https://downloads.sourceforge.net/project/plantuml/plantuml.jar'
touch
$@
...
...
@@ -113,6 +122,10 @@ phpdoc: .phpdocinstall
mkdir
-p
support/plantuml
touch
$@
.support_sonar
:
.support
mkdir
-p
support/sonar
touch
$@
.virtual_env
:
pip-temp-directory
virtualenv .python_virtualenv
.
.python_virtualenv/bin/activate
;
TMPDIR
=
"
$(
PIP_TMP
)
"
pip
install
--upgrade
sphinx
==
1.5.5
...
...
@@ -121,4 +134,8 @@ phpdoc: .phpdocinstall
pip-temp-directory
:
test
-d
"
$(
PIP_TMP
)
"
||
mkdir
-p
"
$(
PIP_TMP
)
"
.PHONY
:
nightly maintainer-clean snapshot release git-revision t3sphinx build-dist make-dist-dir dist-move-doc dist-copy-extension pip-temp-directory plantuml
sonar
:
.sonar_scanner
support/sonar/sonar-scanner-
$(
SONAR_SCANNER_VERSION
)
-linux
/bin/sonar-scanner
.PHONY
:
nightly maintainer-clean snapshot release git-revision t3sphinx build-dist make-dist-dir dist-move-doc dist-copy-extension pip-temp-directory plantuml sonar
This diff is collapsed.
Click to expand it.
sonar-project.properties
0 → 100644
+
16
−
0
View file @
4889f3e6
# must be unique in a given SonarQube instance
sonar.projectKey
=
qfq
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
sonar.projectName
=
QFQ
sonar.projectVersion
=
1.0
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# This property is optional if sonar.modules is set.
sonar.sources
=
.
# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8
sonar.inclusions
=
javascript/**/*.js,extension/**/*.php
sonar.exclusions
=
extension/qfq/tests/**/*.php
sonar.host.url
=
http://ci.math.uzh.ch:9000
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