blob: 61018d6004bf2d5e3f5efafda6a15bf2e7fb321f (
plain)
1
2
3
4
5
6
7
8
9
10
|
XI_BINARY=bin/xi
SOURCE=src
xi: src/xi.py
mkdir -p bin
cd src && zip -r xi.zip *
echo '#!/usr/bin/env python' | cat - src/xi.zip > ${XI_BINARY}
rm src/xi.zip
chmod +x ${XI_BINARY}
|