Skip to content

Commit

Permalink
switch make to modern docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Jul 30, 2024
1 parent ebb00a5 commit 3135a20
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions publisher/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ help:

# generate new episode post markdown file and open it using SublimeText
new-episode:
@docker-compose run --rm -it publisher new | tee ${TMPFILE};
@docker compose run --rm -it publisher new | tee ${TMPFILE};
@${subl} ${makefile_dir}/../hugo/`tail -n 1 ${TMPFILE} | tr -d '\r'`;

# generate new prep post markdown file and open it using SublimeText
prep-show-post:
@docker-compose run --rm -it publisher prep | tee ${TMPFILE};
@docker compose run --rm -it publisher prep | tee ${TMPFILE};
@${subl} ${makefile_dir}/../hugo/`tail -n 1 ${TMPFILE} | tr -d '\r'`;

# show tags for mp3 file
show-tags:
@docker-compose run --rm -it publisher tags --file="$$FILE" --dbg
@docker compose run --rm -it publisher tags --file="$$FILE" --dbg

proc-mp3:
@docker-compose run --rm -it publisher proc --file="$$FILE"
@docker compose run --rm -it publisher proc --file="$$FILE"

# deploy new podcast episode page to https://radio-t.com and regenerate site
deploy-site:
@docker-compose run --rm -it publisher deploy
@docker compose run --rm -it publisher deploy

build:
@echo $(REV)
Expand Down

0 comments on commit 3135a20

Please sign in to comment.