From 2f739777c21cae659b2e1bd8405e47920e2a5f2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicolas=20M=2E=20Thi=C3=A9ry?= <nthiery@users.sf.net>
Date: Wed, 25 Nov 2015 14:27:38 +0100
Subject: [PATCH] Ajout regle d'installation sur le serveur wims de test

---
 docker-compile-and-run/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docker-compile-and-run/Makefile b/docker-compile-and-run/Makefile
index b7e0619..f3a7f3c 100644
--- a/docker-compile-and-run/Makefile
+++ b/docker-compile-and-run/Makefile
@@ -1,3 +1,9 @@
 CXXFLAGS=-g -Wall -std=c++0x
 
 docker-compile-and-run: docker-compile-and-run.cpp
+
+install:
+	scp compile-and-run.sh wims@wimstest:other/bin
+	scp docker-compile-and-run.cpp wims@wimstest:
+	ssh wims@wimstest "g++ $(CXXFLAGS) docker-compile-and-run.cpp -o docker-compile-and-run; mv docker-compile-and-run other/bin; rm docker-compile-and-run.cpp"
+	ssh root@wimstest "chown wims:docker ~wims/other/bin/docker-compile-and-run; chmod 2755 ~wims/other/bin/docker-compile-and-run"
-- 
GitLab