Skip to content

Commit

Permalink
makefile helpers: change how rpx is uploaded, add make clean
Browse files Browse the repository at this point in the history
  • Loading branch information
vgmoose committed Nov 25, 2023
1 parent 388f720 commit fab8531
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- platform: pc
ext: bin
- platform: wiiu
ext: rpx
ext: wuhb
- platform: switch
ext: nro
- platform: 3ds
Expand All @@ -41,4 +41,9 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: chestotesto.${{ matrix.ext }}
path: /__w/chesto/chesto/chestotesto.${{ matrix.ext }}
path: /__w/chesto/chesto/chestotesto.${{ matrix.ext }}
- if: matrix.platform == 'wiiu'
uses: actions/upload-artifact@v3
with:
name: chestotesto.rpx
path: /__w/chesto/chesto/chestotesto.rpx
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ ifeq (wii,$(MAKECMDGOALS))
include $(HELPERS)/Makefile.wii
endif

#.PHONY: clean
#clean:
# $(shell rm -rf build_3ds build_wii build_wiiu build_switch)
# $(shell find . -name "*.o" -exec rm {} \;)
.PHONY: clean
clean:
$(shell rm -rf build_3ds build_wii build_wiiu build_switch)
$(shell find . -name "*.o" -exec rm {} \;)
@echo "It is done."

0 comments on commit fab8531

Please sign in to comment.