Loading Makefile +4 −2 Original line number Diff line number Diff line Loading @@ -51,6 +51,7 @@ package: install ## Construction d'une version distribuable de MaX fi @mkdir -p package @cp -rL .max package/.max @cp VERSION package/.max/ @rm -rf package/.max/basex/webapp/max/bundles/* # nettoyage du BaseX copié : suppression fichiers liées aux bundles, des données @rm package/.max/basex/.basex Loading @@ -61,12 +62,13 @@ package: install ## Construction d'une version distribuable de MaX @cp -r $(SRC_DIR)/main/bundles/max-export package/.max/basex/webapp/max/bundles/ @cp -r $(SRC_DIR)/scripts/max.sh package/ $(eval version=`cat VERSION`) @zip -r max-v2_$(version).zip package mv package max-v2_$(version) @zip -r max-v2_$(version).zip max-v2_$(version) @mkdir dist @mv max-v2_$(version).zip dist/ @echo 'Package créé : dist/max-v2_'$(version)'.zip' @rm -rf max-v2_$(version) @rm VERSION @rm -rf package .PHONY: package run: ## Lancement de MaX Loading Loading
Makefile +4 −2 Original line number Diff line number Diff line Loading @@ -51,6 +51,7 @@ package: install ## Construction d'une version distribuable de MaX fi @mkdir -p package @cp -rL .max package/.max @cp VERSION package/.max/ @rm -rf package/.max/basex/webapp/max/bundles/* # nettoyage du BaseX copié : suppression fichiers liées aux bundles, des données @rm package/.max/basex/.basex Loading @@ -61,12 +62,13 @@ package: install ## Construction d'une version distribuable de MaX @cp -r $(SRC_DIR)/main/bundles/max-export package/.max/basex/webapp/max/bundles/ @cp -r $(SRC_DIR)/scripts/max.sh package/ $(eval version=`cat VERSION`) @zip -r max-v2_$(version).zip package mv package max-v2_$(version) @zip -r max-v2_$(version).zip max-v2_$(version) @mkdir dist @mv max-v2_$(version).zip dist/ @echo 'Package créé : dist/max-v2_'$(version)'.zip' @rm -rf max-v2_$(version) @rm VERSION @rm -rf package .PHONY: package run: ## Lancement de MaX Loading