-
Notifications
You must be signed in to change notification settings - Fork 15
/
Makefile
34 lines (25 loc) · 1.05 KB
/
Makefile
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
# ----------------------------------------------------------------------
# Makefile to pull,check and push bib files
#
# ----------------------------------------------------------------------
# Tracked bibliography files
b = bib/rmod.bib bib/others.bib
all : kozen generate
#update :
# @git pull origin master
kozen : install
./Citezen/build/pharo --headless ./Citezen/build/Pharo.image eval --save "Metacello new baseline: 'Kozen'; onConflict: [ :ex | ex useIncoming ]; repository: 'github://Ducasse/Kozen'; load."
#to clean citezen install
cleanCitezen :
rm -rf Citezen
#to install citezen
#to do how to check that a folder exists already?
install :
[ -d Citezen ] || git clone [email protected]:Ducasse/Citezen.git && cd Citezen && git checkout v1.0.1 && cd ..
[ -f Citezen/build/Pharo.image ] || { cd Citezen; ./scripts/build.sh; }
generate :
cpbib ; ./Citezen/build/pharo --headless ./Citezen/build/Pharo.image eval "StefSite new bibSetFromFile: 'rmod.bib'; generate."
openPharo :
./Citezen/build/pharo-ui ./Citezen/build/Pharo.image
upload :
freeweb