forked from Edouard360/Halite-Python-RL
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (28 loc) · 1.09 KB
/
Makefile
File metadata and controls
37 lines (28 loc) · 1.09 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
.PHONY: all
all:
cd src/; make; cd ..; mv src/halite public/halite;
.PHONY: clean
clean:
rm *.hlt *.log public/halite; cd src/; make clean; cd ..;
.PHONY: sync-nefeli
sync-nefeli:
rsync -a . mehlman@nefeli.math-info.univ-paris5.fr:/home/mehlman/Halite-Python-RL/ --delete
.PHONY: get-nefeli
get-nefeli:
rsync -a --exclude 'public/halite' --exclude '*.o' mehlman@nefeli.math-info.univ-paris5.fr:/home/mehlman/Halite-Python-RL/ . #--delete
.PHONY: sync-solon
sync-solon:
rsync -a --exclude 'public/halite' --exclude '*.o' . solon:/home/mehlman/Halite-Python-RL/ --delete
.PHONY: get-solon
get-solon:
rsync -a --exclude 'public/halite' --exclude '*.o' solon:/home/mehlman/Halite-Python-RL/ . #--delete
.PHONY: clear-agent
clear-agent:
rm -r './public/models/variables/$(AGENT)'
.PHONY: server
server:
cd visualize;export FLASK_APP=visualize.py;flask run
.PHONY: debug-server
debug-server:
cd visualize;FLASK_APP=visualize.py FLASK_DEBUG=1 python -m flask run
#scp mehlman@nefeli.math-info.univ-paris5.fr:/home/mehlman/Halite-Python-RL/public/models/variables/vanilla-2 public/models/variables/vanilla-2