Pārlūkot izejas kodu

Try IRC notification again

Thomas Buck 10 gadus atpakaļ
vecāks
revīzija
06b0136315
2 mainītis faili ar 4 papildinājumiem un 12 dzēšanām
  1. 0
    4
      TODO.md
  2. 4
    8
      cmake/travis_after_success_linux.sh

+ 0
- 4
TODO.md Parādīt failu

@@ -28,7 +28,3 @@
28 28
     * Need useful, always available image writer alternative for screenshots then
29 29
 * When cutscene rendering is working, use TR4/5 style menu?
30 30
 
31
-# Travis CI
32
-
33
-* Run resulting executable, upload screenshot, post link in IRC
34
-

+ 4
- 8
cmake/travis_after_success_linux.sh Parādīt failu

@@ -17,13 +17,9 @@ wget http://imgur.com/tools/imgurbash.sh
17 17
 chmod a+x ./imgurbash.sh
18 18
 ./imgurbash.sh screenshot.png > url
19 19
 
20
-echo 'USER OR-Travis-Worker OR-Travis-Worker OR-Travis-Worker OR-Travis-Worker' > msg
21
-echo 'NICK OR-Travis-Worker' >> msg
22
-echo 'JOIN #OpenRaider' >> msg
23
-echo "PRIVMSG #OpenRaider Travis $CXX Worker has a screenshot:" >> msg
24
-echo -n "PRIVMSG #OpenRaider " >> msg
25
-cat url >> msg
26
-echo 'QUIT' >> msg
20
+export SHIC_SCRIPT=":j #OpenRaider; New Screenshot: $(url); :q"
27 21
 
28
-cat msg | nc chat.freenode.net 6667
22
+wget https://raw.githubusercontent.com/halhen/shic/master/shic
23
+chmod a+x ./shic
24
+./shic -h chat.freenode.net -p 6667 -n OR-Travis-Worker
29 25
 

Notiek ielāde…
Atcelt
Saglabāt