mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-05-01 13:48:57 +08:00
Include robeaux assets by default
This commit is contained in:
parent
d3f22138f0
commit
99ac20c03a
5
Makefile
5
Makefile
@ -1,5 +1,7 @@
|
|||||||
PACKAGES := gobot gobot/api $(shell ls ./platforms | sed -e 's/^/gobot\/platforms\//')
|
PACKAGES := gobot gobot/api $(shell ls ./platforms | sed -e 's/^/gobot\/platforms\//')
|
||||||
|
|
||||||
|
.PHONY: test cover robeaux
|
||||||
|
|
||||||
test:
|
test:
|
||||||
for package in $(PACKAGES) ; do \
|
for package in $(PACKAGES) ; do \
|
||||||
go test github.com/hybridgroup/$$package ; \
|
go test github.com/hybridgroup/$$package ; \
|
||||||
@ -20,6 +22,9 @@ endif
|
|||||||
cd api ; \
|
cd api ; \
|
||||||
git clone --depth 1 git://github.com/hybridgroup/robeaux.git ; \
|
git clone --depth 1 git://github.com/hybridgroup/robeaux.git ; \
|
||||||
cd robeaux ; \
|
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)" ; \
|
echo "Updating robeaux to $(shell git rev-parse HEAD)" ; \
|
||||||
go-bindata -pkg="api" -o robeaux.go -ignore=\\.git ./... ; \
|
go-bindata -pkg="api" -o robeaux.go -ignore=\\.git ./... ; \
|
||||||
mv robeaux.go .. ; \
|
mv robeaux.go .. ; \
|
||||||
|
@ -135,7 +135,7 @@ You can also specify the api host and port, and turn on authentication:
|
|||||||
server.Start()
|
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
|
## Documentation
|
||||||
We're busy adding documentation to our web site at http://gobot.io/ please check there as we continue to work on Gobot
|
We're busy adding documentation to our web site at http://gobot.io/ please check there as we continue to work on Gobot
|
||||||
|
5415
api/robeaux.go
5415
api/robeaux.go
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user