Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
rednerd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
orus-io
rednerd
Commits
514a0d98
Commit
514a0d98
authored
2 years ago
by
Axel Prel
Browse files
Options
Downloads
Patches
Plain Diff
add help on some make commands
parent
2416c963
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
HISTORY.rst
+2
-0
2 additions, 0 deletions
HISTORY.rst
Makefile
+4
-4
4 additions, 4 deletions
Makefile
with
6 additions
and
4 deletions
HISTORY.rst
+
2
−
0
View file @
514a0d98
Release history
===============
- Makefile : add help on the "generate" make commands
0.6.1 (2023-03-27)
==================
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
4
−
4
View file @
514a0d98
...
...
@@ -57,7 +57,7 @@
curl https://s3.fr-par.scw.cloud/orus-io-public/libreoffice-dist/libreoffice-orusdist-7.1.0.3-cdv-1-ubuntu-20.04.tar.xz |unxz |tar x
-C
tools/libreoffice
.PHONY
:
generate-swagger
generate-swagger
:
$(GOSWAGGER_BIN)
generate-swagger
:
$(GOSWAGGER_BIN)
##
Using swagger.yaml
,
generates API internal models
rm
-rf
restapi/operations
$(
GOSWAGGER_BIN
)
generate server
\
--name
Rednerd
\
...
...
@@ -78,6 +78,6 @@
go generate ./migration
.PHONY
:
generate-models
generate-models
:
generate-swagger
generate-models
:
generate-swagger
##
Generate the package models (API internal data models)
go generate ./models
...
...
@@ -82,7 +82,7 @@
go generate ./models
.PHONY
:
generate-migration
.PHONY
:
generate-migration
##
Generate the package migration (database definition)
generate-migration
:
go generate ./migration
.PHONY
:
generate
...
...
@@ -85,8 +85,8 @@
generate-migration
:
go generate ./migration
.PHONY
:
generate
generate
:
generate-swagger generate-models generate-migration
generate
:
generate-swagger generate-models generate-migration
##
generates swagger
,
models & migration
.PHONY
:
lint
lint
:
$(GOLANGCI_LINT_BIN)
##
Lint the files
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment