Map-based autoloader across php and phar resources

⌈⌋ branch:  Canonic Autoloader


Check-in [278c35b7c4]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Reapply version after packaging.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:278c35b7c49c8b38c6088f6e21b06546797138a3
User & Date: mario 2014-09-08 13:43:23
Context
2014-09-08
13:44
Add minimum documentation. check-in: 0f47a9ce94 user: mario tags: trunk
13:43
Reapply version after packaging. check-in: 278c35b7c4 user: mario tags: trunk
2014-09-02
23:05
Updated Phar handler including new regex extractor. check-in: 02c1937563 user: mario tags: trunk, 0.3.3
Changes

Changes to mk.

1
2
3

4

5
6
7
8
9
10





11
12
#!/bin/sh

VERSION=$(version --read stub.php --bump --show --write::2 stub.php --write php-shared-autoloader/DEBIAN/control)



phar stub-set   -f shared.phar -s stub.php 
phar add -c gz  -f shared.phar autoload.update.php
#phar add -c gz -f shared.phar autoload.map.php
./single/shared.phar
version $VERSION write shared.phar






fakeroot dpkg-deb -b php-shared-autoloader/ php-shared-autoloader_$VERSION.deb
dpkg-sig -s builder -k include-once -v php-shared-autoloader_$VERSION.deb


|
>

>



|
<

>
>
>
>
>


1
2
3
4
5
6
7
8
9
10

11
12
13
14
15
16
17
18
#!/bin/sh

#-- bump version
VERSION=$(version  read stub.php  bump show  write::2 stub.php)

#-- update shared.phar package
phar stub-set   -f shared.phar -s stub.php 
phar add -c gz  -f shared.phar autoload.update.php
#phar add -c gz -f shared.phar autoload.map.php
php ./single/shared.phar


#-- build release files
version $VERSION \
	write shared.phar	\
	write composer.json	\
	write php-shared-autoloader/DEBIAN/control
fakeroot dpkg-deb -b php-shared-autoloader/ php-shared-autoloader_$VERSION.deb
dpkg-sig -s builder -k include-once -v php-shared-autoloader_$VERSION.deb