Skip to content

Commit

Permalink
Refactor source directory structure
Browse files Browse the repository at this point in the history
Use Bazel build system
Update to protobuf 3.0.0-beta-1
  • Loading branch information
djungelorm committed Dec 10, 2015
1 parent f103d07 commit 8be40c1
Show file tree
Hide file tree
Showing 385 changed files with 6,686 additions and 45,961 deletions.
177 changes: 1 addition & 176 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,176 +1 @@
# Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
[Bb]in/
[Oo]bj/

# mstest test results
TestResults

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
[Dd]ebug/
[Rr]elease/
x64/
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.log
*.vspscc
*.vssscc
.builds

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*

# NCrunch
*.ncrunch*
.*crunch*.local.xml

# Installshield output folder
[Ee]xpress

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish

# Publish Web Output
*.Publish.xml

# NuGet Packages Directory
packages

# Windows Azure Build Output
csx
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
[Bb]in
[Oo]bj
sql
TestResults
[Tt]est[Rr]esult*
*.Cache
ClientBin
[Ss]tyle[Cc]op.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML

# MonoDevelop
*.userprefs

# Logo
logo.png

# Python
*.pyc
__pycache__
python/MANIFEST
python/krpc.egg-info
python/*.egg
python/build

# Java
java

# C++
cpp/.waf*
cpp/.lock*
cpp/build
cpp/include/krpc/KRPC.pb.h
cpp/src/KRPC.pb.cc
cpp/test/Test.pb.h
cpp/test/Test.pb.cc
cpp/include/krpc/services
cpp/test/services

# protobuf
*.protobin
src/kRPC/Schema/*.cs
src/kRPC/Schema/*.py
src/kRPC/Schema/*.java
src/kRPC/Schema/*.h
src/kRPC/Schema/*.cc
src/kRPC/Schema/*.lua
python/krpc/schema/
python/krpc/test/Test.py
lua/krpc/schema/
lua/krpc/test/Test.lua
test/kRPCTest/Schema/*.cs
test/kRPCTest/Schema/*.py
test/kRPCTest/Schema/*.lua
test/kRPCTest/Schema/*.h
test/kRPCTest/Schema/*.cc

# Build output
dist

# KSP libraries
lib/KSP_Data

# Documentation
!docs
doc/build
doc/src/python/api
doc/src/cpp/api
doc/src/lua/api
doc/src/images/**/*.png

# Tests
test/kRPCSpaceCenterTest/env2
test/kRPCSpaceCenterTest/env3

# KSP configs
PartDatabase.cfg
Physics.cfg
bazel-*
32 changes: 32 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
load('/tools/build/package', 'package_archive')

version = '0.1.11'

package_archive(
name = 'krpc-'+version,
files = [
'README.md',
'VERSION.txt',
'LICENSE.txt',
'//lib:protobuf/LICENSE.txt',
'//lib:protobuf/Google.Protobuf.dll',
'//server:kRPC',
'//server:icons',
'//server:ServiceDefinitions',
'//service:SpaceCenter',
'//service:KerbalAlarmClock',
'//service:InfernalRobotics'
],
path_map = {
'README.md': 'GameData/kRPC/README.txt',
'VERSION.txt': 'GameData/kRPC/VERSION.txt',
'LICENSE.txt': 'GameData/kRPC/LICENSE.txt',
'server/': 'GameData/kRPC/',
'lib/protobuf/': 'GameData/kRPC/',
'lib/protobuf/LICENSE.txt': 'GameData/kRPC/LICENSE.protobuf.txt',
'server/src/icons': 'GameData/kRPC/icons',
'service/SpaceCenter/': 'GameData/kRPC/',
'service/KerbalAlarmClock/': 'GameData/kRPC/',
'service/InfernalRobotics/': 'GameData/kRPC/'
}
)
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v0.1.13
*

v0.1.12
* Added C++ client
* Built for KSP 1.0.5
Expand Down
Loading

0 comments on commit 8be40c1

Please sign in to comment.