Fixed wikiauth compile error, moved build to the top of makefile
This commit is contained in:
Generated
-5
@@ -1,11 +1,6 @@
|
||||
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
|
||||
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "git.aiterp.net/aiterp/wikiauth"
|
||||
packages = ["."]
|
||||
revision = "d73e1a0802728a5559e6e870ce14bfdac3901ed8"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
INSTALL_PATH ?= ./build
|
||||
CGO_ENABLED ?= 0
|
||||
|
||||
# Build all the things
|
||||
build: build-server build-tools
|
||||
|
||||
# Clean up previous builds, vendor directory and generated files
|
||||
clean:
|
||||
@@ -25,9 +29,6 @@ build-tools: build-server
|
||||
go build -ldflags="-s -w" -o $(INSTALL_PATH)/usr/bin/rpdata-ensurechannels ./cmd/rpdata-ensurechannels
|
||||
go build -ldflags="-s -w" -o $(INSTALL_PATH)/usr/bin/rpdata-as2storyimport ./cmd/rpdata-ensurechannels
|
||||
|
||||
# Build all the things
|
||||
build: build-server build-tools
|
||||
|
||||
# Install locally (requires access to /usr/bin, hence no dependency on build)
|
||||
install:
|
||||
cp $(INSTALL_PATH)/usr/bin/* /usr/local/bin/
|
||||
Reference in New Issue
Block a user