mirror of
https://github.com/facebook/sapling.git
synced 2025-01-08 06:37:26 +03:00
rename some of the files related to main()
Summary: Rename `main.cpp` to `EdenMain.cpp` now that this contains the `EdenMain` class rather than the top-level `main()` function, and rename `RunServer.cpp` to `main.cpp` Reviewed By: pkaush Differential Revision: D14435306 fbshipit-source-id: e1528a773e0724c6bd50e31f6b33a1762d7bd49e
This commit is contained in:
parent
be2474ee41
commit
84349add33
@ -19,7 +19,7 @@ file(GLOB SERVICE_SRCS "*.cpp")
|
||||
add_library(
|
||||
eden_service STATIC
|
||||
${SERVICE_SRCS}
|
||||
oss/RunServer.cpp
|
||||
oss/main.cpp
|
||||
)
|
||||
target_link_libraries(
|
||||
eden_service
|
||||
|
@ -7,7 +7,7 @@
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*
|
||||
*/
|
||||
#include "eden/fs/service/main.h"
|
||||
#include "eden/fs/service/EdenMain.h"
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <folly/Conv.h>
|
@ -7,7 +7,7 @@
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*
|
||||
*/
|
||||
#include "eden/fs/service/main.h"
|
||||
#include "eden/fs/service/EdenMain.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
facebook::eden::EdenMain server;
|
@ -263,7 +263,6 @@
|
||||
<ClInclude Include="..\..\fs\service\EdenError.h" />
|
||||
<ClInclude Include="..\..\fs\service\EdenServer.h" />
|
||||
<ClInclude Include="..\..\fs\service\EdenServiceHandler.h" />
|
||||
<ClInclude Include="..\..\fs\service\main.h" />
|
||||
<ClInclude Include="..\..\fs\service\StreamingSubscriber.h" />
|
||||
<ClInclude Include="..\..\fs\sqlite\Sqlite.h" />
|
||||
<ClInclude Include="..\..\fs\store\BackingStore.h" />
|
||||
|
@ -406,9 +406,6 @@
|
||||
<ClInclude Include="..\..\fs\service\EdenServer.h">
|
||||
<Filter>fs\Service</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\fs\service\main.h">
|
||||
<Filter>fs\Service</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Stub.h">
|
||||
<Filter>Win\Stubs</Filter>
|
||||
</ClInclude>
|
||||
|
Loading…
Reference in New Issue
Block a user