aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: remove static_analysis_summary from all: targetnodiscc2020-09-241-1/+1
| | | | | static_analysis_summary was removed in 37c9c6b#diff-b67911656ef5d18c4ae36cb6741b7965 but not from the all: target dependencies. Therefore running make all always fails. fixes https://github.com/shaarli/Shaarli/issues/1459
* Upgrade front end dependenciesArthurHoaro2020-09-221-1/+1
| | | | | | | | | | | | | Mostly in order to get rid of deprecated deps, and upgrade vulnerable ones. - Upgrade webpack from 3.x to 4.x - Moved babel package to main repo - Replaced deprecated extract-text-webpack-plugin with extract-text-webpack-plugin - Replaced deprecated babel-minify-webpack-plugin with terser-webpack-plugin - Replaced deprecated node-sass with (dart) sass package - Replaced deprecated sass-lint with stylelint (the rules might be a bit different Related to #1531: trivy doesn't raise any more issue
* Update MakefileBrendan M. Sleight2020-02-051-0/+1
| | | Solve make htmldoc error on python3 ubuntu
* fix directory creation in makefilenodiscc2020-01-191-1/+2
| | | | the syntax {doc,venor} is only supported in bash and make uses /bin/sh as default shell
* Add and update unit test for the new system (Bookmark + Service)ArthurHoaro2020-01-181-1/+2
| | | | See #1307
* doc: remove Doxygen configurationVirtualTam2019-01-181-5/+0
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* doc: add Make target to run phpDocumentor with DockerVirtualTam2019-01-181-0/+4
| | | | | | | | | | | | | | | This target provides a convenient way for running phpDocumentor without cluttering the system's configuration with PHP extensions, nor the Composer dependencies. See: - https://hub.docker.com/r/phpdoc/phpdoc/dockerfile - https://github.com/phpDocumentor/phpDocumentor2#via-docker An alternative is to download the PHAR and run it locally: - https://docs.phpdoc.org/getting-started/installing.html#phar Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: setup PHPCS for PSR-1 and PSR-2VirtualTam2018-12-021-6/+8
| | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/95 See: - https://github.com/squizlabs/PHP_CodeSniffer - https://github.com/squizlabs/PHP_CodeSniffer/blob/master/phpcs.xml.dist - https://www.php-fig.org/psr/psr-1/ - https://www.php-fig.org/psr/psr-2/ Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* lint: remove unused toolsVirtualTam2018-12-021-56/+0
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Include assets in the release_archive Makefile targetArthurHoaro2018-07-281-0/+3
|
* Let MkDocs clean previously generated HTML pagesVirtualTam2018-06-261-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Add SASSLint makefile target, and run it in CIArthurHoaro2018-05-101-2/+6
| | | | Also move ESLint and SASSLint config files to a dedicated .dev folder
* Webpack / Configure webpack, ESLint, Travis, Makefile, npm/yarn and gitArthurHoaro2018-03-281-2/+15
|
* Doxygen: ignore data/, simplify Make targetVirtualTam2018-02-231-2/+2
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* documentation cleanupnodiscc2017-11-181-11/+0
| | | | | | | * In preparation of #930 work * Remove/reorder duplicate documentation from Makefile/Unit-tests.md/Download-and-Installation.md (composer information is now in Unit-tests.md) * Installation using git: add composer requirement to all git installation procedures, add python3-virtualenv requirement * Styling (horizontal rulers, spacing, descriptive headers)
* Use makefile target to generate MO file and remove it from gitArthurHoaro2017-10-221-5/+10
|
* Shaarli's translationArthurHoaro2017-10-221-1/+1
| | | | | | | | | * translation system and unit tests * Translations everywhere Dont use translation merge It is not available with PHP builtin gettext, so it would have lead to inconsistency.
* docker: switch to Alpine Linux for the master imageVirtualTam2017-10-031-1/+1
| | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/843 Changed: - switch base image from Debian:Jessie to Alpine:3.6 - switch to PHP 7.1 - switch from supervisord to s6 to manage services See: - https://alpinelinux.org/ - https://wiki.alpinelinux.org/wiki/Nginx_with_PHP - http://www.skarnet.org/software/s6/ - http://www.skarnet.org/software/s6/s6-svscan.html - http://www.skarnet.org/software/s6/s6-svc.html - http://www.skarnet.org/software/s6/s6-svstat.html Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* docker: add alpine,debian,ubuntu test imagesVirtualTam2017-09-181-0/+10
| | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/843 Added: - Makefile target to run commands in a Docker test context - Docker images to run Shaarli test suites: - Alpine 3.6 - Debian 8 - Debian 9 - Ubuntu 16.04 - Documentation Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Documentation+Makefile: update AUTHORS generationVirtualTam2017-08-291-10/+4
| | | | | | Fixes https://github.com/shaarli/Shaarli/issues/935 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* documentation: include generated HTML in release archivesVirtualTam2017-08-021-4/+6
| | | | | | | Closes https://github.com/shaarli/Shaarli/issues/908 Relates to https://github.com/shaarli/Shaarli/pull/772 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* fix: use pinned dependency revisions when generating release archivesVirtualTam2017-08-021-1/+1
| | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* makefile: remove [[link]] -> [link](url) conversion logicnodiscc2017-07-041-6/+0
| | | | all links in documentation have been converted to standard markdown link syntax
* makefile: remove obsolete 'doc' targetnodiscc2017-07-041-8/+2
| | | | official documentation can now be found in doc/md/
* Generate HTML documentation using MkDocs (WIP)nodiscc2017-06-181-33/+19
| | | | | | | | | | | | | | | | | | | | | | | | MkDocs is a static site generator geared towards building project documentation. Documentation source files are written in Markdown, and configured with a single YAML file. * http://www.mkdocs.org/ * http://www.mkdocs.org/user-guide/configuration/ Ref. #312 * remove pandoc-generated HTML documentation * move markdown doc to doc/md/, * mkdocs.yml: * generate HTML doc in doc/html * add pages TOC/ordering * use index.md as index page * Makefile: remove execute permissions from generated files * Makefile: rewrite htmlpages GFM to markdown conversion using sed: awk expression aslo matched '][' which causes invalid output on complex links with images or code blocks * Add mkdocs.yml to .gitattributes, exclude this file from release archives * Makefile: rename: htmldoc -> doc_html target * run make doc: pull latest markdown documentation from wiki * run make htmlpages: update html documentation
* Run languages tests using PHPUnit test suitesArthurHoaro2017-03-061-2/+14
|
* Add an AUTHORS file, simplify COPYING, bump year to 2017VirtualTam2017-01-071-1/+7
| | | | | | | | | | | | | | | | | Added: - AUTHORS file listing Shaarli contributors - mailmap information to group a Git author's different aliases - Makefile target to list contributors from Git commit data Changed: - Simplify COPYING by using a single "Shaarli Community" entry - Bump year to 2017 See: - man git-shortlog - https://www.kernel.org/pub/software/scm/git/docs/git-shortlog.html#_mapping_authors Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Update release archive generationVirtualTam2016-10-191-4/+9
| | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/607 Relates to https://github.com/shaarli/Shaarli/pull/608 Modifications: - match the arborescence of the archives provided by GitHub - generate compressed tarballs Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Makefile: generate release archives including 3rd-party librariesVirtualTam2016-07-251-1/+29
| | | | | | | | | | | Relates to #607 Archive creation process (tar, zip): - let Composer resolve functional (no-dev) dependencies - call git-archive to generate a release archive - include 3rd-party dependencies to the generated archive Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Remove Delicious in project description in commentsArthurHoaro2016-07-231-1/+1
|
* tests: add a make target to check file permissionsVirtualTam2016-01-171-1/+15
| | | | | | | | Additions: - [makefile] check versioned files are not executable - [travis] call the new make target Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* application: refactor version checks, move to ApplicationUtilsVirtualTam2015-11-261-0/+2
| | | | | | | | | | | | | | | Relates to #372 Modifications: - move checkUpdate() to ApplicationUtils - reduce file I/O operations during version checks - apply coding conventions - add test coverage Tools: - create a sandbox directory for tests Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Add a target to generate Doxygen documentationVirtualTam2015-11-221-0/+5
| | | | | | | | | | | | | | | | | | | | Relates to #95 Customizations for PHP/Shaarli: - add project information - index PHP files - index global functions - exclude directories Usage $ make doxygen $ firefox doxygen/index.html & Notes - classes can be found under "Data Structures" - global functions can be found under "Files > Globals > Functions" Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Add plugins folder to test analysisArthurHoaro2015-11-071-2/+2
|
* Doc: sync from Wiki, generate HTMLVirtualTam2015-08-041-3/+33
| | | | | | | | | | | | | | | | Closes #291 Fixes #227 Modifications - HTML content: match the new Wiki structure - Makefile - generate a custom HTML sidebar - include the sidebar on all pages - infer and prepend page titles - handle relative links - add title metadata, e.g. Shaarli - <Page Name> Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* Merge pull request #276 from virtualtam/tools/phpcsVirtualTam2015-07-311-0/+4
|\ | | | | Add a generic rule to run PHPCS against different coding standards
| * Makefile: add a generic rule to run PHPCS against different coding standardsVirtualTam2015-07-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to #95 Usage - list available standards $ ./vendor/bin/phpcs -i - run PHPCS against a given standard $ make PHPCS_<standard> Examples $ make PHPCS_PSR1 $ make PHPCS_Zend Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Makefile: do not call `clean` before `test`VirtualTam2015-07-181-5/+5
|/ | | | | | | | | | Fixes #288 Modifications: - call `make clean` explicitely to clean the workspace - add `make clean` to Travis instructions Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* LinkDB: move to a proper file, add test coverageVirtualTam2015-06-111-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to #71 LinkDB - move to application/LinkDB.php - code cleanup - indentation - whitespaces - formatting - comment cleanup - add missing documentation - unify formatting Test coverage for LinkDB - constructor - public / private access - link-related methods Shaarli utilities (LinkDB dependencies) - move startsWith() and endsWith() functions to application/Utils.php - add test coverage Dev utilities - Composer: add PHPUnit to dev dependencies - Makefile: - update lint targets - add test targets - generate coverage reports Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* use pandoc to generate local HTML documentationnodiscc2015-04-051-0/+6
| | | | | fixes https://github.com/shaarli/Shaarli/issues/178 run 'make htmldoc'
* cleanup: makefile commentsnodiscc2015-04-051-21/+18
|
* Include documentation/wiki locally:nodiscc2015-03-141-0/+13
| | | | | | | * sync current wiki (https://github.com/shaarli/Shaarli/wiki) to the doc/ directory * fix missing logo in README * add link to local documentation in the page footer * add Makefile targets for doc generation by @virtualtam
* Code quality: Makefile to run static code checkersVirtualTam2015-03-051-0/+94
Relates to #71 Relates to #95 Additions: - Makefile for easy usage, - Composer file to declare dev & test dependencies. Features: - PHP Copy/Paste Detect: detect duplicate code; - PHP Code Sniffer: static analysis, syntax checking, - PHP Mess Detector: static analysis, syntax checking. Signed-off-by: VirtualTam <virtualtam@flibidi.org>