Commit Graph

19 Commits

Author SHA1 Message Date
Daniel Rudolf 58f615403e
Refactor Build system
- Separate Travis branch deployment and release deployment stages (also makes `deploy.sh` obsolete)
- Add `clean.sh` and `release.sh` scripts to allow users to create "release" packages locally
- Use `setup/*.sh` scripts to check and install build dependencies (like PHP_CodeSniffer, phpDocumentor and cloc)
- Use `create-release.sh` of `picocms/ci-tools` to create release archives
- Streamline script usage

Use the following to test Pico and to create a "release" package locally:

```sh
cd ~/My-Pico-Workspace/Components/pico

ln -rs ../ci-tools .build/ci-tools

. ./.build/ci-tools/init/local.sh.inc
. ./.build/init.sh.inc

phpcs --standard=.phpcs.xml "$PICO_PROJECT_DIR"

clean.sh
release.sh
```
2019-11-03 20:03:48 +01:00
Daniel Rudolf 888190f15a
Various small improvements 2018-01-21 23:06:38 +01:00
Daniel Rudolf 8a11a65c9f
Create distinct _build/.gitignore 2017-05-06 19:34:58 +02:00
Daniel Rudolf 3f98896165
Create empty content/ dir 2017-05-02 00:26:23 +02:00
Daniel Rudolf cbb8ece579
Move PicoDeprecated plugin and default theme to separate repos
See https://github.com/picocms/pico-theme for Pico's default theme and https://github.com/picocms/pico-deprecated for the PicoDeprecated plugin.
2017-05-01 22:12:18 +02:00
Daniel Rudolf 9b7523b9e8
Use .yml files to configure Pico
Instead of using `*.config.php` files, use `*.yml` files to configure Pico. YAML is much easier to understand, more user friendly and (at least a bit) more error-tolerant, but still very powerful. Don't break BC by letting `PicoDeprecated` still read `config/config.php`.
2017-02-05 16:52:18 +01:00
Daniel Rudolf ce84a8618c Build system: Minor code refactoring 2016-01-17 21:26:06 +01:00
Daniel Rudolf 76f243f925 Refactor phpDoc deployment
This should prevent empty phpDoc updates like 55b4a2b
2015-11-30 14:53:10 +01:00
Daniel Rudolf 4be51a7bee Refactor phpDoc generation 2015-11-30 00:52:19 +01:00
theshka 1dc410425f Isolate build-related files from source
* [Changed] rename `phpcs.xml` -> `.phpcs.xml`
* [Changed] rename `build/` dir -> `_build/`
* [Changed] update paths in `.gitignore`
* [Changed] update paths in `.travis.yml`
* [Changed] update paths in `.sh` scripts
2015-11-29 14:55:55 -06:00
Daniel Rudolf 18fc928797 Merge branch 'master' into enhancement/build-release
Conflicts:
	.travis.yml
2015-11-25 18:03:03 +01:00
Daniel Rudolf 876a500ecf Improve .gitignore 2015-11-25 04:07:57 +01:00
Daniel Rudolf 7f4ad75245 Refactor phpDoc auto-deployment 2015-11-23 21:46:36 +01:00
Daniel Rudolf bd24d518f2 Update .gitignore 2015-11-23 21:33:57 +01:00
Daniel Rudolf e144cce6b1 Update .gitignore 2015-11-06 21:19:17 +01:00
Diogo Oliveira de Melo 0f6a55baa0 Organize files on git.
- add vendor to .gitignore
- remove all vendor files
- move content to content-sample
- move config.php to config.php.template
2015-03-18 06:11:45 -03:00
Gilbert Pellegrom 45cd4ca5b7 v0.7
* [New] Added before_read_file_meta and get_page_data plugin hooks to
customize page meta data
 * [Changed] Make get_files() ignore dotfiles
 * [Changed] Make get_pages() ignore Emacs and temp files
 * [Changed] Use composer version of Markdown
 * [Changed] Other small tweaks
 * [Fixed] Date warnings and other small bugs
2013-09-04 12:10:26 +01:00
Gilbert Pellegrom 7d2f97f2f6 Update Twig (now uses composer) and add composer.json. 2013-04-26 17:22:30 +01:00
Gilbert Pellegrom 72271a28cf Ignore Sublime files. 2012-04-04 14:48:54 +01:00