Skip to content

Commit

Permalink
fix(docker): rimraf dist/* instead of dist to fix conflict with volume
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Oct 8, 2020
1 parent 8aa0e50 commit 60a32c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"version": "npm run preversion && conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"preversion": "npm run format && npm run lint",
"prebuild": "rimraf dist",
"prebuild": "rimraf dist/*",
"watch": "tsc -p tsconfig.json --watch true --sourceMap",
"build": "tsc -p tsconfig.json",
"start": "npm run build",
Expand Down
4 changes: 2 additions & 2 deletions run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ set -e
set -u

docker_image=kkoomen/doge
current_docker_image_id=879e8382d1a2
current_docker_image_id=50ca4e4e3e9c
DOGE_DOCKER_IMAGE="$docker_image"
export DOGE_DOCKER_IMAGE

Expand Down Expand Up @@ -177,7 +177,7 @@ cancel_tests() {
trap cancel_tests INT TERM

if [[ ! -f ./dist/index.js ]]; then
echo "Building dist/index.js"
echo "Building dist folder..."
docker run --rm \
-v "$PWD/autoload:/vim-doge/autoload" \
-v "$PWD/ftplugin:/vim-doge/ftplugin" \
Expand Down

0 comments on commit 60a32c8

Please sign in to comment.