Skip to content
Snippets Groups Projects
Commit d01677b7 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

fix: mark phony targets as… phony

parent 2f066cf9
No related branches found
No related tags found
No related merge requests found
......@@ -61,27 +61,35 @@ DOCKER_RUN = @docker run \
autoradio/$(APP_NAME)
# Targets
PHONY: init.app
init.app: node_modules
cp sample.env.production .env.production
.PHONY: init.dev
init.dev: node_modules
cp sample.env.development .env.development
cp sample.env.docker .env.docker
.PHONY: spell
spell: node_modules
npm run spell
.PHONY: format
format: node_modules
npm run format
.PHONY: build
build: $(DIR_DIST)
.PHONY: run
run: node_modules
npm run dev
.PHONY: run.prod
run.prod: node_modules
npm run serve -- --host 0.0.0.0
.PHONY: release
release:
git tag $(VERSION)
git push origin $(VERSION)
......
  • @kmohrf I'm curious why you chose to add .PHONY:. To my eyes the double-dot notation is much more simple and beautiful :-)

    .PHONY: release
    release:

    vs

    release::

    I'm just style-nitpicking and seriously curious ;-)

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment