Skip to content

Commit

Permalink
fix: add newline between each file entry
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenvukhang committed Mar 7, 2023
1 parent f1756e3 commit 64bc458
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ QT_VERSION ?= 6.2.4
# make main
# make test

install: FORCE
make main
rm -rf '/Applications/Canvas Sync.app'
cp -a './build/Canvas Sync.app' '/Applications/Canvas Sync.app'

main:
@make --no-print-directory build
mv ./build/compile_commands.json .

app: FORCE
cd app && cmake -DBUILD_TESTS=ON -DQT_STATIC_DIR=$(QT_STATIC_DIR) -DCMAKE_BUILD_TYPE=Release \
-S . -B build
cd app && cmake --build build --parallel # alternatively: cd build && make

test: FORCE
$(MAKEFILE_DIR)/build/test/CanvasSyncTest

Expand Down
2 changes: 2 additions & 0 deletions app.cc
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,9 @@ void App::show_updates()
push(folder_name(f.id).c_str());
push("</h3>");
for (auto f : f.files) {
push("<p>");
push(f.filename.c_str());
push("</p>");
}
}
}
Expand Down

0 comments on commit 64bc458

Please sign in to comment.