Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: 黄子懿 <[email protected]>
  • Loading branch information
MrThanlon committed Nov 22, 2023
1 parent 849675d commit 68cbba7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
run: |
source emsdk/emsdk_env.sh
cd tiny-prof-viewer
make -C src/elfsym
npm run build -- --base=/tiny-prof --outDir=dist
npm run build -- --base=/ --outDir=html
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ all: test test_cpp

run: test test_cpp
@./test
mv a.profile test.profile
@./test_cpp
mv a.profile test_cpp.profile

test: test.o hook.o
$(CC) -g $^ -o $@ -pthread -rdynamic -ldl
Expand Down
2 changes: 1 addition & 1 deletion tiny-prof-viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"build": "make -C src/elfsym && vite build",
"preview": "vite preview"
},
"dependencies": {
Expand Down

0 comments on commit 68cbba7

Please sign in to comment.