TODOs for Maxim

This commit is contained in:
Eugene Batalov
2016-08-08 16:55:28 +03:00
parent c5706dc35f
commit a230fadd0d
3 changed files with 18 additions and 1 deletions
+1
View File
@@ -1,5 +1,6 @@
#!/usr/bin/expect
# XXX this script works super slow on eugene's machine
set host ""
set userName "pi"
+2 -1
View File
@@ -1,4 +1,5 @@
#!/bin/bash
# TODO main server ip address should be read from configuration file that is
# not overwritten during deploy.
cd build/js
node main.js
+15
View File
@@ -22,9 +22,24 @@ repositories {
}
task compileProto(type: Exec) {
/*
* XXX Kotlin proto compiler calling convention will change soon.
* It would provide fixed path to protoc in its project directory.
*/
executable "./compileProto.sh"
}
task buildProtoLib(type: Copy) {
/*
* XXX Will need to rework.
* New Kotlin protobuf compiler will have build.sh script that
* generates jar file with Kotlin protobuf runtime classes
* and .proto => .kt compiler executable.
* Also you copy this files into src of your server and even
* commit copied files into git repository.
* This is not acceptable. This files shouldn't be part of
* your src in any way.
* Also Kotlin protoc generated files shouldn't be part of your src too.
*/
//just copy lib src to project
def pathToProtoKotSrc = "../proto/compiler/src/"
from pathToProtoKotSrc + "CodedInputStream.kt", pathToProtoKotSrc + "CodedOutputStream.kt",