Browse Source

Fixed wikiauth compile error, moved build to the top of makefile

1.0
Gisle Aune 7 years ago
parent
commit
7f49f8c4b5
  1. 5
      Gopkg.lock
  2. 7
      makefile

5
Gopkg.lock

@ -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"

7
makefile

@ -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/
Loading…
Cancel
Save