mirror of
https://github.com/TecharoHQ/anubis.git
synced 2025-08-03 09:48:08 -04:00
Makefile: Build robots2policy (#699)
* Makefile: Build robots2policy * Update metadata check-spelling run (pull_request) for build-robots2policy Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com> on-behalf-of: @check-spelling <check-spelling-bot@check-spelling.dev> --------- Signed-off-by: check-spelling-bot <check-spelling-bot@users.noreply.github.com> Co-authored-by: Jason Cameron <git@jasoncameron.dev>
This commit is contained in:
parent
ecc716940e
commit
ab801a3597
3
.github/actions/spelling/expect.txt
vendored
3
.github/actions/spelling/expect.txt
vendored
@ -183,7 +183,6 @@ NONINFRINGEMENT
|
|||||||
nosleep
|
nosleep
|
||||||
OCOB
|
OCOB
|
||||||
ogtags
|
ogtags
|
||||||
ogtitle
|
|
||||||
omgili
|
omgili
|
||||||
omgilibot
|
omgilibot
|
||||||
openai
|
openai
|
||||||
@ -218,6 +217,7 @@ rawler
|
|||||||
rcvar
|
rcvar
|
||||||
redir
|
redir
|
||||||
redirectscheme
|
redirectscheme
|
||||||
|
refactors
|
||||||
relayd
|
relayd
|
||||||
reputational
|
reputational
|
||||||
reqmeta
|
reqmeta
|
||||||
@ -261,6 +261,7 @@ techarohq
|
|||||||
templ
|
templ
|
||||||
templruntime
|
templruntime
|
||||||
testarea
|
testarea
|
||||||
|
Thancred
|
||||||
thoth
|
thoth
|
||||||
thothmock
|
thothmock
|
||||||
Tik
|
Tik
|
||||||
|
2
Makefile
2
Makefile
@ -18,6 +18,7 @@ assets: deps
|
|||||||
|
|
||||||
build: assets
|
build: assets
|
||||||
$(GO) build -o ./var/anubis ./cmd/anubis
|
$(GO) build -o ./var/anubis ./cmd/anubis
|
||||||
|
$(GO) build -o ./var/robots2policy ./cmd/robots2policy
|
||||||
@echo "Anubis is now built to ./var/anubis"
|
@echo "Anubis is now built to ./var/anubis"
|
||||||
|
|
||||||
lint: assets
|
lint: assets
|
||||||
@ -27,6 +28,7 @@ lint: assets
|
|||||||
|
|
||||||
prebaked-build:
|
prebaked-build:
|
||||||
$(GO) build -o ./var/anubis -ldflags "-X 'github.com/TecharoHQ/anubis.Version=$(VERSION)'" ./cmd/anubis
|
$(GO) build -o ./var/anubis -ldflags "-X 'github.com/TecharoHQ/anubis.Version=$(VERSION)'" ./cmd/anubis
|
||||||
|
$(GO) build -o ./var/robots2policy -ldflags "-X 'github.com/TecharoHQ/anubis.Version=$(VERSION)'" ./cmd/robots2policy
|
||||||
|
|
||||||
test: assets
|
test: assets
|
||||||
$(GO) test ./...
|
$(GO) test ./...
|
||||||
|
@ -58,7 +58,9 @@ This will build all static assets (CSS, JavaScript) for distribution.
|
|||||||
make build
|
make build
|
||||||
```
|
```
|
||||||
|
|
||||||
From this point it is up to you to make sure that `./var/anubis` ends up in the right place. You may want to consult the `./run` folder for useful files such as a systemd unit and `anubis.env.default` file.
|
From this point it is up to you to make sure that `./var/anubis` and `./var/robots2policy` end up in
|
||||||
|
the right place. You may want to consult the `./run` folder for useful files such as a systemd unit
|
||||||
|
and `anubis.env.default` file.
|
||||||
|
|
||||||
## "Pre-baked" tarball
|
## "Pre-baked" tarball
|
||||||
|
|
||||||
@ -75,7 +77,7 @@ When using this tarball, all you need to do is build `./cmd/anubis`:
|
|||||||
make prebaked-build
|
make prebaked-build
|
||||||
```
|
```
|
||||||
|
|
||||||
Anubis will be built to `./var/anubis`.
|
Anubis will be built to `./var/anubis` and the robots2policy tool to `./var/robots2policy`.
|
||||||
|
|
||||||
## Development dependencies
|
## Development dependencies
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user