-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·57 lines (45 loc) · 1.8 KB
/
Makefile
File metadata and controls
executable file
·57 lines (45 loc) · 1.8 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
VERSION=0.019
# NOTE: in order to test remote access, install RepRapCloud on another system and
# define 'server: <serverHostorIP>' in rrcloudrc file (in this directory)
all::
@echo "make install tests clean"
install::
#cp rrcloud *.cloud ~/bin/
tar cf - rrcloud *.cloud | (cd /usr/local/bin/ && sudo tar xf -)
deinstall::
#rm -f ~/bin/rrcloud ~/bin/*.cloud
sudo rm -f /usr/local/bin/rrcloud /usr/local/bin/*.cloud
tests::
rm -rf tmp; mkdir tmp
./rrcloud --local echo tests/test.txt
./rrcloud --local openscad tests/sphere.scad
./rrcloud --local openjscad tests/test.jscad
./rrcloud --local slic3r tests/cube.stl
#./rrcloud povray tests/scene.pov
./rrcloud echo tests/test.txt
./rrcloud openscad tests/sphere.scad
./rrcloud openscad "difference() { cube(5); sphere(2.5); }"
./rrcloud openjscad tests/test.jscad
./rrcloud slic3r --load=tests/slic3r.conf tests/cube.stl
./rrcloud '--notifier=http://the-labs.com/ping-$$id' slic3r --load=tests/slic3r.conf tests/cube.stl
#./rrcloud openscad+slic3r tests/sphere.scad
./rrcloud info
./openscad.cloud tests/sphere.scad -otmp/sphere.stl
./openjscad.cloud tests/test.jscad -otmp/test.stl
./slic3r.cloud --load=tests/slic3r.conf tmp/sphere.stl --output=tmp/sphere.gcode
./printrun.cloud /dev/ttyUSB0 tmp/sphere.gcode
clean::
rm -rf tasks tmp
# --- developers only below
push::
git remote set-url origin git@github.com:Spiritdude/RepRapCloud.git
git push -u origin master
pull::
git remote set-url origin git@github.com:Spiritdude/RepRapCloud.git
git pull -u origin master
dist:: clean
cd ..; tar cfz Backup/rrcloud-${VERSION}.tar.gz "--exclude=*.git/*" RepRapCloud/
backup:: clean
scp ../Backup/rrcloud-${VERSION}.tar.gz the-labs.com:Backup/
edit::
dee4 rrcloud Makefile README.md jquery.html www/index.html www/style.css services/*