13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
dev-server:
php -S localhost:8082 -t www www/_route.php
release:
$(eval VERSION=$(shell cat VERSION))
fossil ls | grep '^src/' | sed 's/src/garradin-${VERSION}/' > /tmp/garradin-${VERSION}-list.txt
echo "garradin-${VERSION}/include/lib/KD2" >> /tmp/garradin-${VERSION}-list.txt
rm -f /tmp/garradin-${VERSION}
ln -s ${PWD} /tmp/garradin-${VERSION}
tar cjvfh garradin-${VERSION}.tar.bz2 -C /tmp -T /tmp/garradin-${VERSION}-list.txt
rm -f /tmp/garradin-${VERSION}*
publish: release
$(eval VERSION=$(shell cat VERSION))
fossil uv sync
fossil uv ls | grep '^garradin-.*\.tar\.bz2' | xargs fossil uv rm
fossil uv add garradin-${VERSION}.tar.bz2
fossil uv sync
|
|
>
>
>
>
|
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
dev-server:
php -S localhost:8082 -t www www/_route.php
release:
$(eval VERSION=$(shell cat VERSION))
fossil ls | grep '^src/' | sed 's/src/garradin-${VERSION}/' > /tmp/garradin-${VERSION}-list.txt
#echo "garradin-${VERSION}/include/lib/KD2" >> /tmp/garradin-${VERSION}-list.txt
cat include/lib/dependencies.list | sed -r "s/^/garradin-${VERSION}\/include\/lib\//" >> /tmp/garradin-${VERSION}-list.txt
rm -f /tmp/garradin-${VERSION}
ln -s ${PWD} /tmp/garradin-${VERSION}
tar cjvfh garradin-${VERSION}.tar.bz2 -C /tmp -T /tmp/garradin-${VERSION}-list.txt
rm -f /tmp/garradin-${VERSION}*
publish: release
$(eval VERSION=$(shell cat VERSION))
fossil uv sync
fossil uv ls | grep '^garradin-.*\.tar\.bz2' | xargs fossil uv rm
fossil uv add garradin-${VERSION}.tar.bz2
fossil uv sync
check-dependencies:
grep -hEo '^use \\?KD2\\\w+|\\KD2\\\w+' -R include/lib/Garradin www | sed -r 's/^use \\?KD2\\|^\\KD2\\//' | sort | uniq
|