refactor: project name and set default plan for new user
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
BINARY_NAME=./cmd/legalgo/main.go
|
||||
BINARY_MIGRATE_NAME=./cmd/gorm/main.go
|
||||
OUTPUT_DIR=./bin/legalgo
|
||||
OUTPUT_MIGRATE_DIR=./bin/migrate
|
||||
|
||||
all: build
|
||||
|
||||
@@ -11,6 +13,14 @@ run: build
|
||||
@echo "Building and running..."
|
||||
$(OUTPUT_DIR)
|
||||
|
||||
build-migrate:
|
||||
@echo "Building the Migrate..."
|
||||
go build -o $(OUTPUT_MIGRATE_DIR) $(BINARY_MIGRATE_NAME)
|
||||
|
||||
migrate: build-migrate
|
||||
@echo "Building and running Migrate..."
|
||||
$(OUTPUT_MIGRATE_DIR)
|
||||
|
||||
clean:
|
||||
@echo "Cleaning the build..."
|
||||
rm -f $(OUTPUT_DIR)
|
||||
|
||||
Reference in New Issue
Block a user