Rename router_backup to main.go
This commit is contained in:
4
Makefile
4
Makefile
@ -4,7 +4,7 @@
|
||||
BINARY_NAME=ipng-router-backup
|
||||
SOURCE_DIR=src
|
||||
BUILD_DIR=.
|
||||
GO_FILES=$(SOURCE_DIR)/router_backup.go
|
||||
GO_FILES=$(SOURCE_DIR)/main.go
|
||||
|
||||
# Default target
|
||||
.PHONY: all
|
||||
@ -14,7 +14,7 @@ all: build
|
||||
.PHONY: build
|
||||
build:
|
||||
@echo "Building $(BINARY_NAME)..."
|
||||
cd $(SOURCE_DIR) && go build -o ../$(BUILD_DIR)/$(BINARY_NAME) router_backup.go
|
||||
cd $(SOURCE_DIR) && go build -o ../$(BUILD_DIR)/$(BINARY_NAME) main.go
|
||||
@echo "Build complete: $(BINARY_NAME)"
|
||||
|
||||
# Clean build artifacts
|
||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -4,7 +4,7 @@
|
||||
dh $@
|
||||
|
||||
override_dh_auto_build:
|
||||
cd src && go build -o ../ipng-router-backup router_backup.go
|
||||
cd src && go build -o ../ipng-router-backup main.go
|
||||
|
||||
override_dh_auto_install:
|
||||
mkdir -p debian/ipng-router-backup/usr/bin
|
||||
|
Reference in New Issue
Block a user