Skip to content

Commit bf2c391

Browse files
committed
Remove Buck based build
Bug: Issue google#88 Change-Id: Ifdb48360e62f416cfdd9c8c470c55e3b0f8020e3
1 parent f4f1ac2 commit bf2c391

23 files changed

+13
-658
lines changed

.buckversion

-1
This file was deleted.

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
/.classpath
22
/.project
33
/.settings
4-
/buck-out
54
/eclipse-out
65
/gitiles.config
7-
/.buckd
86
/.idea
97
*.iml
108
*~

.gitmodules

-3
This file was deleted.

.watchmanconfig

-1
This file was deleted.

BUCK

-59
This file was deleted.

Documentation/developer-guide.md

+8-13
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,14 @@
44

55
## Building
66

7-
Gitiles requires [Buck](http://facebook.github.io/buck/) to build.
7+
Gitiles requires [Bazel](https://bazel.build/) to build.
8+
9+
You need to use Java for building Gitiles. You can install Bazel from the bazel.io:
10+
https://bazel.build/versions/master/docs/install.html
811

912
```
10-
sudo apt-get install ant
11-
cd ${HOME}
12-
git clone https://github.com/facebook/buck.git
13-
cd buck
14-
ant
15-
sudo ln -s ${PWD}/bin/buck /usr/bin/buck
16-
cd /path/to/gitiles
17-
git submodule update --init
18-
buck build all
19-
buck test
13+
bazel build //...
14+
bazel test //...
2015
```
2116

2217

@@ -31,15 +26,15 @@ This will recompile and start a development server. Open
3126
http://localhost:8080/ to view your local copy of gitiles, which
3227
will serve any repositories under `/path/to/repositories`.
3328

34-
To run unit tests, run `buck test`.
29+
To run unit tests, run `bazel test ...`.
3530

3631

3732
## Eclipse IDE
3833

3934
If you'd like to use Eclipse to edit Gitiles, first generate a project file:
4035

4136
```
42-
./bucklets/tools/eclipse.py --src --exclude=servlet-api_2_5
37+
tools/eclipse/project.sh
4338
```
4439

4540
Import the project in Eclipse:

VERSION

-1
This file was deleted.

blame-cache/BUCK

-29
This file was deleted.

bucklets

-1
This file was deleted.

bucklets.defs

-26
This file was deleted.

fake_pom_deploy.xml

-21
This file was deleted.

fake_pom_install.xml

-1
This file was deleted.

gitiles-dev/BUCK

-25
This file was deleted.

gitiles-servlet/BUCK

-70
This file was deleted.

0 commit comments

Comments
 (0)