File tree Expand file tree Collapse file tree 2 files changed +75
-0
lines changed Expand file tree Collapse file tree 2 files changed +75
-0
lines changed Original file line number Diff line number Diff line change 1+ * .py [cod ]
2+
3+ # C extensions
4+ * .so
5+
6+ # Packages
7+ * .egg
8+ * .egg-info
9+ dist
10+ build
11+ eggs
12+ parts
13+ bin
14+ var
15+ sdist
16+ develop-eggs
17+ .installed.cfg
18+ lib
19+ lib64
20+ __pycache__
21+
22+ # vim files
23+ * .swp
24+
25+ # # Installer logs
26+ pip-log.txt
27+
28+ # Unit test / coverage reports
29+ .coverage
30+ .tox
31+ nosetests.xml
32+
33+ # Translations
34+ * .mo
35+
36+ # Mr Developer
37+ .mr.developer.cfg
38+ .project
39+ .pydevproject
40+
41+ # ### Expyriment specific
42+ expyriment
Original file line number Diff line number Diff line change 1+ .PHONY : build
2+
3+ all : build
4+
5+ build : build/pgs4a build/expyriment
6+ @mkdir -p build/pgs4a/expyriment_app
7+ @cp -a * .py build/pgs4a/expyriment_app
8+ @cp -a android-icon.png build/pgs4a/expyriment_app
9+ @cp build/expyriment build/pgs4a -ra
10+ @cd build/pgs4a; \
11+ python android.py configure expyriment_app ; \
12+ python android.py build expyriment_app release; \
13+
14+ build/pgs4a :
15+ @mkdir -p build
16+ wget -P build ' http://pygame.renpy.org/dl/pgs4a-0.9.4.tar.bz2'
17+ @cd build; tar xjf pgs4a-0.9.4.tar.bz2; rm pgs4a-0.9.4.tar.bz2; \
18+ mv pgs4a-0.9.4 pgs4a;
19+ @cp * .py build/pgs4a
20+
21+ build/expyriment :
22+ @DIR=build; \
23+ mkdir -p $$ DIR; \
24+ wget -P $$ DIR https://raw.github.com/expyriment/expyriment/master/CHANGES.md; \
25+ VER=` awk ' BEGIN{FS=" "}{ if ($$1 ~ /Version/){ print $$2;exit}}' $$ DIR/CHANGES.md` ; \
26+ wget -P $$ DIR https://github.com/expyriment/expyriment/releases/download/v$$ VER/expyriment-$$ VER.zip; \
27+ cd $$ DIR; \
28+ unzip expyriment-$$ VER.zip; \
29+ mv expyriment-$$ VER/expyriment expyriment; \
30+ rm expyriment-$$ VER.zip expyriment-$$ VER -rf; \
31+
32+ clean :
33+ rm -rf build
You can’t perform that action at this time.
0 commit comments