install.fairie/dotfiles/.vim/plugged/vim-prettier/Makefile
Git E2E Dev Test Username a8e788a215 git subrepo clone (merge) https://github.com/prettier/vim-prettier.git ./dotfiles/.vim/plugged/vim-prettier
subrepo:
  subdir:   "dotfiles/.vim/plugged/vim-prettier"
  merged:   "5e6cca21"
upstream:
  origin:   "https://github.com/prettier/vim-prettier.git"
  branch:   "master"
  commit:   "5e6cca21"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
2022-10-18 10:36:42 -04:00

63 lines
1.1 KiB
Makefile

NAME=vim-prettier
VERSION=1.0.0-beta
build:
docker build -t mitermayer/vim-test-bed .
test:
echo "Running tests..."
docker run \
-t \
--rm \
-v ${PWD}:/testplugin \
-v ${PWD}/tests:/home \
"mitermayer/vim-test-bed" \
yarn --cwd testplugin test
test-update-snapshot:
echo "Running tests..."
docker run \
-t \
--rm \
-v ${PWD}:/testplugin \
-v ${PWD}/tests:/home \
"mitermayer/vim-test-bed" \
yarn --cwd testplugin test -u
lint:
echo "Running linter..."
docker run \
-t \
--rm \
-v ${PWD}:/testplugin \
-v ${PWD}/tests:/home \
"mitermayer/vim-test-bed" \
yarn --cwd testplugin lint
tag:
git tag $(VERSION)
chroot:
docker run \
-it \
-v ${PWD}:/testplugin \
-v ${PWD}/tests:/home \
"mitermayer/vim-test-bed" \
bash
run:
docker run \
-it \
-v ${PWD}:/testplugin \
-v ${PWD}/tests:/home \
"mitermayer/vim-test-bed" \
${VIM_VERSION} -u /home/vimrc
changelog:
docker run -it --rm -v "${PWD}":/usr/local/src/your-app ferrarimarco/github-changelog-generator -u prettier -p vim-prettier -t ${GITHUB_REPO_READ_TOKEN}
release:
git push --tags
.PHONY: build test lint tag chroot run changelog release