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
```
6 years ago
Daniel Rudolf
834300acb4
Build system: Fix cloc statistics generation
7 years ago
Daniel Rudolf
1ce1780a86
Build system: Fix release deployment
8 years ago
Daniel Rudolf
722de2a1e5
Build system: Refactor scripts to use picocms/ci-tools
8 years ago
Daniel Rudolf
4fb0b408e2
Build system: Improve and fix deployment
8 years ago
Daniel Rudolf
1afc495584
Build system: Remove cloc release statistics
8 years ago
Daniel Rudolf
da0d4c3054
Build system: Add tools/github-commit.sh
8 years ago
Daniel Rudolf
448fff4702
Build system: Add version parser, handle pre-releases differently
8 years ago
Daniel Rudolf
498961b0c6
Build system: Various small improvements
8 years ago
Daniel Rudolf
81ebc4c33e
Build system: Move helper scripts to _build/tools dir
8 years ago
Daniel Rudolf
0318cc25d7
Build system: Add cloc statistics to release deployment
8 years ago
Daniel Rudolf
df532e45bb
Travis CI: Use Build Stages
...
See https://docs.travis-ci.com/user/build-stages
8 years ago
Daniel Rudolf
fad5d869ee
Improve build system; add _build/github-clone.sh
9 years ago
Daniel Rudolf
a9eee00950
Fix references to the picocms.github.io repo
9 years ago
Daniel Rudolf
79a14799bb
Build system: Add phpDoc list
9 years ago
Daniel Rudolf
4c0366fa49
Build system: Move generate-version.sh
9 years ago
Daniel Rudolf
e01044319a
Build system: Use dynamic phpDoc title
9 years ago
Daniel Rudolf
3a36dbd934
Build system: Add automatic version file updates for picocms.org
9 years ago
Daniel Rudolf
ce84a8618c
Build system: Minor code refactoring
10 years ago
Daniel Rudolf
0f85f85367
Build scripts: Fix exit codes
10 years ago
Daniel Rudolf
4f60289d36
_build/deploy-phpdoc-release.sh: Fix version badge status
10 years ago
Daniel Rudolf
2ed32d67a7
Update _build/deploy-phpdoc-release.sh
10 years ago
Daniel Rudolf
26d7d2f68e
Build scripts: Fix formatting
10 years ago
Daniel Rudolf
cd0e0f706f
Build scripts: Git identity must be configured before committing
10 years ago
Daniel Rudolf
92026a3bd0
Add static shields.io badge generator
10 years ago
Daniel Rudolf
47d2685c6d
phpDocs auto deployment: Disable cache for releases
10 years ago
Daniel Rudolf
f5c721aba1
phpDocs auto deployment: Fix paths
10 years ago
Daniel Rudolf
76f243f925
Refactor phpDoc deployment
...
This should prevent empty phpDoc updates like 55b4a2b
10 years ago
Daniel Rudolf
4be51a7bee
Refactor phpDoc generation
10 years ago
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
10 years ago
Daniel Rudolf
54305c4d33
phpDocs auto deployment: Remove pull requests support
...
We can deploy phpDocs in safe environments only, but "safe environment" is equivalent to "pull a local branch", therefore we can simply use that local branch to deploy the phpDocs. There's no need for a explicit pull request support.
10 years ago
Daniel Rudolf
45dcf32fa7
phpDocs auto deployment: Support pull requests in a safe environment
10 years ago
Daniel Rudolf
17dbc4cf18
phpDocs auto deployment: Cleanup
10 years ago