Skip to content

Commit

Permalink
Change the protobuf compile task name so the "run" abbreviation works…
Browse files Browse the repository at this point in the history
… for running the game again
  • Loading branch information
Cervator committed Apr 14, 2014
1 parent b00e286 commit 4127be8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -198,12 +198,12 @@ clean.doLast {
println "Cleaned root - don't forget to re-extract the natives! 'gradlew extractNatives' or a dependent task"
}

task runProtobufWindows(type:Exec) {
task protobufCompileWindows(type:Exec) {
description = "Run 'Protobuf Compiler' (Windows)"
commandLine 'protobuf\\compiler\\protoc.exe', '--proto_path=engine\\src\\main\\protobuf', '--java_out', 'engine\\src\\main\\java', 'engine\\src\\main\\protobuf\\*'
}

// TODO: add linux protobuf compiler
// TODO: add linux protobuf compiler and if we do maybe straighten out tasks for better abbreviations
//task runProtobufLinux(type:Exec) {
// description = "Run 'Protobuf Compiler' (Linux)"
// commandLine 'protobuf/compiler/protoc', '--proto_path=engine/src/main/protobuf', '--java_out', 'engine/src/main/java engine/src/main/protobuf/*'
Expand Down
2 changes: 1 addition & 1 deletion facades/PC/build.gradle
Expand Up @@ -97,7 +97,7 @@ task runPC(type:JavaExec) {
classpath project(':engine').configurations.runtime
}

// TODO: Check on "gradlew start" as something else clashes with that now? Also: Make a task to reset server / game data
// TODO: Make a task to reset server / game data
task startServer(type:JavaExec) {
description "Starts a headless multiplayer server with data stored in [project-root]/$localServerDataPath"

Expand Down

0 comments on commit 4127be8

Please sign in to comment.