refactor: déplacer fichiers go source vers pkg/ et cmd/
Déplacer public/ et templates/ vers ui/ et ui/public/ Bump projet à v3, API toujours v1
This commit is contained in:
parent
e46033d4a9
commit
7d4a747774
107 changed files with 68 additions and 107 deletions
6
Makefile
6
Makefile
|
@ -11,17 +11,17 @@ help: ## Show this help
|
|||
.PHONY: build
|
||||
build: ## Build agecem-org executable
|
||||
CGO_ENABLED=0 go build -a -o agecem-org \
|
||||
-ldflags="-X 'git.agecem.com/agecem/agecem-org/version.version=`git describe`'" .
|
||||
-ldflags="-X 'git.agecem.com/agecem/agecem-org/pkg/agecemorg/version.version=`git describe`'" ./cmd/agecemorg/
|
||||
|
||||
.PHONY: install
|
||||
install: ## Using `go install`, install the agecem-org executable at ~/go/bin/haul
|
||||
CGO_ENABLED=0 go install -a \
|
||||
-ldflags="-X 'git.agecem.com/agecem/agecem-org/version.version=`git describe`'" .
|
||||
-ldflags="-X 'git.agecem.com/agecem/agecem-org/pkg/agecemorg/version.version=`git describe`'" ./cmd/agecemorg/
|
||||
|
||||
.PHONY: run
|
||||
run: ## Run agecem-org from source with `go run`
|
||||
CGO_ENABLED=0 go run \
|
||||
-ldflags="-X 'git.agecem.com/agecem/agecem-org/version.version=`git describe`'" .
|
||||
-ldflags="-X 'git.agecem.com/agecem/agecem-org/pkg/agecemorg/version.version=`git describe`'" ./cmd/agecemorg/
|
||||
|
||||
.PHONY: build-container
|
||||
build-container: ## Build agecem-org container image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue