mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-12-24 17:11:58 +01:00
[Travis] Added Makefile to the plugins folder to build all with one command.
This commit is contained in:
parent
b350d7e478
commit
f8e8f7f52e
10
.travis.yml
10
.travis.yml
@ -55,10 +55,7 @@ script:
|
||||
- make
|
||||
- (cd loader && make)
|
||||
- (cd example_plugin && make)
|
||||
- (cd plugins/padcon && make)
|
||||
- (cd plugins/sdcafiine && make)
|
||||
- (cd plugins/swipswapme && make)
|
||||
- (cd plugins/hid_to_vpad && make)
|
||||
- (cd plugins && make)
|
||||
|
||||
before_deploy:
|
||||
- mkdir -p "wiiu/apps/wiiupluginloader"
|
||||
@ -68,10 +65,7 @@ before_deploy:
|
||||
- versiontag="$(./gitrev.sh)"
|
||||
- (cd loader && make)
|
||||
- cp example_plugin/example_plugin.mod wiiu/plugins
|
||||
- cp plugins/padcon/padcon.mod wiiu/plugins
|
||||
- cp plugins/swipswapme/swipswapme.mod wiiu/plugins
|
||||
- cp plugins/sdcafiine/sdcafiine.mod wiiu/plugins
|
||||
- cp plugins/hid_to_vpad/hid_to_vpad.mod wiiu/plugins
|
||||
- cp plugins/*.mod wiiu/plugins
|
||||
- cp loader/meta/* wiiu/apps/wiiupluginloader
|
||||
- cp loader/wiiupluginloader.elf wiiu/apps/wiiupluginloader
|
||||
- zip -r WiiUPluginLoader_$versiontag.zip wiiu
|
||||
|
13
plugins/Makefile
Normal file
13
plugins/Makefile
Normal file
@ -0,0 +1,13 @@
|
||||
SUBDIRS = $(shell ls -d */)
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
all:
|
||||
for dir in $(SUBDIRS); do \
|
||||
$(MAKE) -C $$dir -f Makefile; \
|
||||
done
|
||||
|
||||
clean:
|
||||
for dir in $(SUBDIRS); do \
|
||||
$(MAKE) -C $$dir -f Makefile clean; \
|
||||
done
|
Loading…
Reference in New Issue
Block a user