mirror of
https://github.com/fluffle/goirc
synced 2025-05-21 06:53:21 +00:00
Make it so one command builds everything
This commit is contained in:
parent
a537d1a9f6
commit
d38619843f
2 changed files with 9 additions and 3 deletions
10
Makefile
10
Makefile
|
@ -9,7 +9,15 @@ GOFILES=rbot.go handler.go auth.go cmd-access.go cmd-admin.go cmd-op.go cmd-goog
|
|||
|
||||
include $(GOROOT)/src/Make.cmd
|
||||
|
||||
all: rbot.conf auth.conf
|
||||
.PHONY: client goconfig
|
||||
|
||||
all: rbot.conf auth.conf client goconfig
|
||||
|
||||
client:
|
||||
$(MAKE) -C client install
|
||||
|
||||
goconfig:
|
||||
$(MAKE) -C goconfig install
|
||||
|
||||
rbot.conf: rbot.conf.example
|
||||
@if [ -f $@ ] ; then \
|
||||
|
|
|
@ -9,8 +9,6 @@ Assuming you have go set up (http://golang.org/),
|
|||
cd rbot
|
||||
git submodule init
|
||||
git submodule update
|
||||
gomake -C client install
|
||||
gomake -C goconfig install
|
||||
gomake
|
||||
|
||||
rbot.conf and auth.conf will be copied. Configure those and then run the bot:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue