Skip to content

Commit 943e68d

Browse files
committed
Add Scraps/package.sh which builds the source release archive
1 parent edf2676 commit 943e68d

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Scraps/package.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
CHECKOUTDIR=coreobjectpackaging
4+
ARCHIVENAME="CoreObject-0.5.tgz"
5+
6+
rm -fr $CHECKOUTDIR
7+
mkdir $CHECKOUTDIR
8+
cd $CHECKOUTDIR
9+
git clone https://github.com/etoile/CoreObject.git
10+
git clone https://github.com/etoile/EtoileFoundation.git
11+
git clone https://github.com/etoile/UnitKit.git
12+
13+
rm -fr CoreObject/.git
14+
rm -fr EtoileFoundation/.git
15+
rm -fr UnitKit/.git
16+
17+
tar czvvf $ARCHIVENAME CoreObject EtoileFoundation UnitKit
18+
19+
rm -fr CoreObject EtoileFoundation UnitKit
20+
cd ..
21+

0 commit comments

Comments
 (0)