public
Fork of rikrd/geomerative
Description: Geomerative is a library for Processing. It extends 2D geometry operations to facilitate generative geometry. Includes a TrueType font and an SVG interpreters. This library exposes the shapes (such as vector drawings or typographies) in a more approchable way. Geomerative makes it easy to access the contours, the control points and the curve points, making it easy to develop generative typography and geometry pieces in Processing.
Homepage: http://www.ricardmarxer.com/geomerative
Clone URL: git://github.com/markluffel/geomerative.git
geomerative / linuxDistribute
100755 42 lines (29 sloc) 1.055 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
 
export GEOMERATIVE_VER=12
 
#### Build documentation
linuxGenerateDoc
 
#### Build library
linuxCompile
 
#### Bundle for distribution
rm -fr ./distribution &&
mkdir ./distribution &&
mkdir ./distribution/geomerative/ &&
mkdir -p ./distribution/geomerative/library &&
 
## Copy libs
cp ./library/geomerative.jar ./distribution/geomerative/library &&
cp ./external/batikfont.jar ./distribution/geomerative/library &&
 
## Copy docs
cp ./README ./distribution/geomerative/ &&
cp ./COPYING ./distribution/geomerative/ &&
cp -r ./documentation/ ./distribution/geomerative/ &&
 
## Copy examples
cp -r ./examples/ ./distribution/geomerative/ &&
 
## Copy tutorial
cp -r ./tutorial/ ./distribution/geomerative/ &&
 
## Copy sources
cp -r ./src ./distribution/geomerative/
 
 
## Zip up
cd distribution
rm -f geomerative-$GEOMERATIVE_VER.zip
zip -r ./geomerative-$GEOMERATIVE_VER.zip ./geomerative/library ./geomerative/documentation/ ./geomerative/COPYING ./geomerative/README ./geomerative/examples/ ./geomerative/src/ ./geomerative/tutorial/
cd ..