TODOs for Maxim
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/expect
|
||||
|
||||
# XXX this script works super slow on eugene's machine
|
||||
|
||||
set host ""
|
||||
set userName "pi"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user