1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-24 13:48:49 +08:00

Include robeaux assets by default

This commit is contained in:
Adrian Zankich 2014-07-10 11:13:32 -07:00
parent d3f22138f0
commit 99ac20c03a
3 changed files with 5419 additions and 3 deletions

View File

@ -1,5 +1,7 @@
PACKAGES := gobot gobot/api $(shell ls ./platforms | sed -e 's/^/gobot\/platforms\//')
.PHONY: test cover robeaux
test:
for package in $(PACKAGES) ; do \
go test github.com/hybridgroup/$$package ; \
@ -20,6 +22,9 @@ endif
cd api ; \
git clone --depth 1 git://github.com/hybridgroup/robeaux.git ; \
cd robeaux ; \
rm fonts/* ; \
rm Makefile package.json README.markdown robeaux.gemspec css/fonts.css ; \
touch css/fonts.css ; \
echo "Updating robeaux to $(shell git rev-parse HEAD)" ; \
go-bindata -pkg="api" -o robeaux.go -ignore=\\.git ./... ; \
mv robeaux.go .. ; \

View File

@ -135,7 +135,7 @@ You can also specify the api host and port, and turn on authentication:
server.Start()
```
In order to use the [robeaux](https://github.com/hybridgroup/robeaux) AngularJS interface with Gobot you must have [go-bindata](https://github.com/jteeuwen/go-bindata) installed and then run `$ make robeaux`. You may now access robeaux by navigating to `http://localhost:3000/index.html`.
You may access the [robeaux](https://github.com/hybridgroup/robeaux) AngularJS interface with Gobot by navigating to `http://localhost:3000/index.html`.
## Documentation
We're busy adding documentation to our web site at http://gobot.io/ please check there as we continue to work on Gobot

File diff suppressed because it is too large Load Diff