Brad Fitzpatrick
2fde7c11a0
Add make.go option to build with the race detector.
...
Change-Id: Ie972bd7ca74e59cbdbf4000ba505473fdd15dc6f
2013-12-11 15:53:36 +04:00
Steve Phillips
fc09b38397
verifyGoVersion: log.Fatalf was missing 'version' var
...
Change-Id: I10c71e96a598ec640131245b73ae201161f68622
2013-10-08 11:47:45 -07:00
Aaron Boodman
aac43b56fc
Move to "G+-style" selection.
...
To select an item, click the checkmark that overlays on rollover.
To navigate, just click anywhere else on the item.
Also move selection from additive by default rather than exclusive.
Change-Id: I47e6ca1942fe1fdaaf615f6ab0e0a547f1a51735
2013-10-03 22:06:31 +00:00
Brad Fitzpatrick
b377055f1f
make.go: preserve executable bit when copying binaries to bin
...
Change-Id: Ia2c415aaaa2ab5ffa52766f5adfb4f5af7377961
2013-09-21 13:23:07 +01:00
Brad Fitzpatrick
bec961cc00
make.go: don't use GOBIN; copy binaries out from temp GOPATH/bin by hand
...
Fixes http://camlistore.org/issue/229
Change-Id: I7769330e0982a92d4fa90bbce44330b6a473ee0b
2013-09-21 12:45:36 +01:00
mpl
97fe4be9d6
Merge "devcam test, replaces make presubmit"
2013-09-19 15:05:07 +00:00
mpl
ba8f88c21a
devcam test, replaces make presubmit
...
http://camlistore.org/issue/223
Change-Id: Iaaea9926a98d7d3335fd6ee52daa225e51ec4703
2013-09-19 17:00:59 +02:00
Brad Fitzpatrick
79065de4b9
For SQLite compile errors, link to the wiki.
...
Change-Id: I34b1485daba6173d6665cfc56b6bba43164534d8
2013-09-19 10:17:57 +01:00
Brad Fitzpatrick
13691c699f
make.go: build camput, etc faster, ignoring embedded UI resources
...
Change-Id: I1f7f60f4d5de97f69ddaf8c370889320ca8d5efe
2013-09-10 22:42:24 -07:00
Brad Fitzpatrick
7a34e5a52a
Upstream bug is fixed.
...
http://golang.org/issue/6319
Change-Id: I9467a7727fdb4b27cb1c4b5ceb093c2b1635427f
2013-09-04 13:44:43 -07:00
Brad Fitzpatrick
501c6dcd45
Change make.go to build devcam. Update HACKING file.
...
Change-Id: I6938b519cc721ca23ab9c6de8e86a6a1b944010f
2013-09-03 19:56:42 -07:00
Brad Fitzpatrick
dabe4355af
Change how the Android camput.arm asset is built to use make.go
...
Change-Id: I00a6e22ef088a173f78ffca83c984d915670180c
2013-09-03 19:48:32 -07:00
Brad Fitzpatrick
22e7395f85
Merge branch 'master' of https://camlistore.googlesource.com/camlistore
2013-08-26 18:01:30 -05:00
Brad Fitzpatrick
ac05ce80ae
Merge "devcam: bugfix; do not fail when binary does not exist"
2013-08-26 23:01:22 +00:00
Brad Fitzpatrick
ed998308fe
make.go: turn --sqlite flag into a tri-state with 'auto' as default
...
Change-Id: I916e90aec6a19ff3d8610eccf8df84f445a46730
2013-08-26 17:52:02 -05:00
mpl
6bc558910d
devcam: bugfix; do not fail when binary does not exist
...
http://camlistore.org/issue/213
Change-Id: I432a8ec04cb02c4c5241bd38361fad3d6d39ee02
2013-08-26 15:14:52 +02:00
Brad Fitzpatrick
46020e1551
Make kvfile index the default if SQLite isn't available.
...
We now work out of the box, with no external dependencies.
Change-Id: I8d0cedb33518e418a7ff28cdb22f9ba9ef400d6f
2013-08-25 12:57:51 -05:00
mpl
b243dc268d
make.go: fix cross-compiling
...
http://camlistore.org/issue/198
Change-Id: Ic1bf1e458d8e197b85137ad1721820fbf31cb755
2013-08-20 17:09:53 +02:00
mpl
f5709afdd8
camlistored: help getting started on windows
...
-fail early when new config has sqlite but no sqlite installed
-hint at the server config doc url
-added windows with mysql section in the server config doc
-fixed typo in mongo indexer option
Change-Id: I4266eb6e34a55901e6af90a32eb1411fb5c37688
2013-08-16 19:14:30 +02:00
Brad Fitzpatrick
d3bca08889
make.go: create zip files with forward slashes, per zip spec
...
Might fix issue 188 (Windows not getting any UI)
Change-Id: Ic4243102d9bc78ba4a9959c575afc6313949da1f
2013-08-03 22:48:09 -07:00
Brad Fitzpatrick
0bdf20884b
all: delete pkg/blobref; convert all from *blobref.BlobRef to new blob.Ref
...
Change-Id: Id2dfb7f19452bedf4f3c9310b36227fd8117b225
2013-08-03 19:54:30 -07:00
Brad Fitzpatrick
831f5c3a06
make.go: don't depend on a shell script to get the git version.
...
Fixes building on Windows; https://code.google.com/p/camlistore/issues/detail?id=181
Change-Id: I6f25589567e610aa63d5bcd91e7efe9aaab7c050
2013-07-28 18:15:04 -07:00
Cerales
b4ba7eb00d
support static_embed when cross-compiling.
...
Implemented with a new GOARCH flag and appropriately setting the GOARCH
and GOOS variables when building the genfileembed tool.
Change-Id: I2a3f4ad08496ad03995e67da389d125388d643eb
2013-07-11 19:51:42 +10:00
Brad Fitzpatrick
e3ee8942ae
Add +build ignore to top-level make.go, to prevent 'go get camlistore.org'
...
Change-Id: I794de23fc257abf7d5b6d38c4d9d3a9ccf50019d
2013-07-07 17:35:10 -07:00
Brad Fitzpatrick
cd095251b1
make.go: mention where to get brew
...
Change-Id: Ia81d366ab7b2aa19d77d73e5305bc5ac5e57b33c
2013-07-06 14:52:08 -07:00
Brad Fitzpatrick
bc5edb9011
Merge "Not finding pkg-config shouldn't be fatal on OS X."
2013-07-06 21:49:53 +00:00
Brad Fitzpatrick
dde968e763
Mark FUSE & pkg/fs files as Linux & Mac only, to fix FreeBSD build.
...
Also start of cross-compiling support in make.go.
Change-Id: Ic11ca2d433f135b07b3f6d7738eec9fe98590905
2013-07-05 10:41:07 -07:00
Bill Thiede
9ff0a95eb6
Enable logging when full build fails.
...
Change-Id: If8fba29e2e83bc954832c644ccc8e2a1695a46d6
2013-07-03 19:56:13 -07:00
Nico Weber
0d5c552a11
Not finding pkg-config shouldn't be fatal on OS X.
...
pkg-config is usually not installed on OS X machines. Before this change:
$ go run make.go
No pkg-config found. Can't determine whether sqlite3 is available, and where.
exit status 1
Now:
$ go run make.go
SQLite not found. Either install it, or run make.go with --sqlite=false
On OS X, run 'brew install sqlite3' and set PKG_CONFIG_PATH=*snip*
exit status 2
Change-Id: I52e4c68d0f18bc582f8f4e04ad36caaaedb4f778
2013-07-02 09:41:47 -07:00
Brad Fitzpatrick
59f5b41900
Use make.go from dev-* scripts. Updates Issue 140.
...
Change-Id: I0acea921e311b8228829dbad37ee502034c7dfe7
2013-06-29 13:52:01 -07:00
Brad Fitzpatrick
1e0b16cccf
make.go: mirror the favicon so it can be embedded in the binary
...
Change-Id: Ib58c17fe12b671f718c528aeb4624be13d03b4af
2013-06-26 10:24:36 -07:00
mpl
5ab9f5618a
make.go: added -targets option
...
Change-Id: Ia22226a9d6f64d9d830d6b85db8a5e25ed812827
2013-06-24 23:19:32 +02:00
Brad Fitzpatrick
8c2195d5ce
On Mac, automatically find the brew sqlite3.
...
Change-Id: Iafa852a414d4f87553bd51ee75fe077b0f5cea1d
2013-06-22 17:20:32 -07:00
Brad Fitzpatrick
7d8a8634a0
make.go: do two builds, once for just binaries (with a nice GOBIN), then the check-everything-builds install (with the default hidden-away GOBIN)
...
Change-Id: I5d8148a65a412d01f5e8bb1377b047aea5d2e8cf
2013-06-21 20:18:02 -07:00
mpl
0a85af4da5
make.go: generate the zembeds and rename/mv some globals
...
We're using the tmp/bin/genfileembed built by
make.go to generate from the static resources
(.html,.js etc) the zembeds.*.go files that
will be embedded in the final binary.
This requires mirroring to the build dir all
said static resources.
A further step will be to remove all the zembeds
from the initial source tree (i.e the git repo).
Change-Id: I25a1aa38d0314b3074cdbedfd4422a685da66191
2013-06-20 15:50:09 +02:00
Brad Fitzpatrick
10d000d900
ui: serve Closure from embedded zip data when available
...
Change-Id: I9bb6bb4f13f69b293fd98441d82068c0677ffbd5
2013-06-18 23:14:36 -07:00
Brad Fitzpatrick
8071a49516
Merge branch 'master' of ssh://camlistore.org:29418/camlistore
2013-06-18 18:39:55 -07:00
Brad Fitzpatrick
757c09cb87
make.go: fix zip corruption with extra bytes from newlines
...
Change-Id: Ib6fc01c60885898e09abaea4e8eec0e79fb7581a
2013-06-18 18:39:43 -07:00
mpl
46d6f4d9ce
make.go: allow for installation of genfileembed
...
With -embed_static, genfileembed is built, and
installed in tmp/build-gopath/bin
Change-Id: Ibca9c90349a7cf8d43e1f865792802772e9a08d3
2013-06-19 01:41:37 +02:00
Brad Fitzpatrick
3a8dc35241
make.go: don't put a 'closure' binary (updateclosure) in bin/
2013-06-18 15:23:45 -07:00
Brad Fitzpatrick
58b0d0fa02
make.go: pull cleanGoEnv out into a function
2013-06-18 15:21:56 -07:00
Brad Fitzpatrick
cca2466547
Mark closure's z_data.go as wanted, so it's not deleted.
2013-06-18 14:45:57 -07:00
mpl
eaca89f8ab
make.go: allow embedding of the closure resources
...
Change-Id: I2491740e2bbecc6484d60842df79cdc73fb22597
2013-06-18 23:27:15 +02:00
Brad Fitzpatrick
c75f500b27
Fix make.go sqlite3 check.
...
Fixes https://github.com/bradfitz/camlistore/issues/4
Change-Id: I16a13aa86a4357b538de25d13c17d2d9b3d824a6
2013-06-14 13:21:04 -07:00
mpl
ad5f3b854d
genjsdeps: now pkg + cmd in misc/closure/
...
pkg/server/ui.go uses misc/closure too
fixes http://camlistore.org/issue/142
Change-Id: I614e34e6b7d493d66aa61108e3ca940854844c0f
2013-06-14 00:29:45 +02:00
Brad Fitzpatrick
93b779f037
make.go: don't put genjsdeps in bin/
...
Change-Id: If9244977c175d544b5e75f1229b0ed15e4c24f0c
2013-06-12 08:55:47 -07:00
Brad Fitzpatrick
b97d889f80
make.go: ignore emacs temp files
...
Change-Id: I8c909c45f7854440342b620e5b7d6a3c7f62e614
2013-06-12 04:35:27 -07:00
Brad Fitzpatrick
4922f46d99
Add a note to make.go
...
Change-Id: I9ff95fea40949116bb963e2153731b5f0ec37327
2013-06-11 13:19:46 +02:00
Brad Fitzpatrick
04bd9cd897
make.go: use a different temp GOPATH for sqlite-vs-not; add verbose flag
...
Change-Id: Iccb140f6ca740a77fce2510689d237aa9c456d21
2013-06-11 01:22:28 +02:00
Brad Fitzpatrick
ebc236f9f0
make.go: add the forgotten os.Chtimes in mirrorFile.
...
Now incremental builds are fast again.
Change-Id: Ibd0a6ef8f2bdec4f760476e5507ec0c3a17f110d
2013-06-11 01:18:29 +02:00