Build with Magefile #104341
15
Makefile
15
Makefile
@ -150,17 +150,8 @@ swagger-ui:
|
|||||||
test: buildtool
|
test: buildtool
|
||||||
"${BUILDTOOL_PATH}" test
|
"${BUILDTOOL_PATH}" test
|
||||||
|
|
||||||
clean:
|
clean: buildtool
|
||||||
@go clean -i -x
|
"${BUILDTOOL_PATH}" clean
|
||||||
rm -f flamenco*-v* flamenco-manager flamenco-worker *.exe flamenco-*_race addon-packer stresser
|
|
||||||
$(MAKE) clean-webapp-static
|
|
||||||
|
|
||||||
clean-webapp-static:
|
|
||||||
# Start with `./` to avoid horrors when WEB_STATIC is absolute (like / or /home/yourname).
|
|
||||||
rm -rf ./${WEB_STATIC}
|
|
||||||
# Make sure there is at least something to embed by Go, or it may cause some errors.
|
|
||||||
mkdir -p ./${WEB_STATIC}
|
|
||||||
touch ${WEB_STATIC}/emptyfile
|
|
||||||
|
|
||||||
devserver-website:
|
devserver-website:
|
||||||
go run ${HUGO_PKG} -s web/project-website serve
|
go run ${HUGO_PKG} -s web/project-website serve
|
||||||
@ -325,4 +316,4 @@ publish-release-packages:
|
|||||||
${RELEASE_PACKAGE_LINUX} ${RELEASE_PACKAGE_DARWIN} ${RELEASE_PACKAGE_DARWIN_ARM64} ${RELEASE_PACKAGE_WINDOWS} ${RELEASE_PACKAGE_SHAFILE} \
|
${RELEASE_PACKAGE_LINUX} ${RELEASE_PACKAGE_DARWIN} ${RELEASE_PACKAGE_DARWIN_ARM64} ${RELEASE_PACKAGE_WINDOWS} ${RELEASE_PACKAGE_SHAFILE} \
|
||||||
${WEBSERVER_SSH}:${WEBSERVER_ROOT}/downloads/
|
${WEBSERVER_SSH}:${WEBSERVER_ROOT}/downloads/
|
||||||
|
|
||||||
.PHONY: application version flamenco-manager flamenco-worker flamenco-manager_race flamenco-worker_race webapp webapp-static generate generate-go generate-py with-deps swagger-ui list-embedded test clean clean-webapp-static flamenco-manager-without-webapp
|
.PHONY: application version flamenco-manager flamenco-worker flamenco-manager_race flamenco-worker_race webapp webapp-static generate generate-go generate-py with-deps swagger-ui list-embedded test clean flamenco-manager-without-webapp
|
||||||
|
Loading…
Reference in New Issue
Block a user