Skip to content

Commit

Permalink
Update to use -FS to avoid extra files and add a "release" target to …
Browse files Browse the repository at this point in the history
…avoid making the zip when just preping an install usb locally
  • Loading branch information
lmagder committed Dec 20, 2017
1 parent e98b838 commit e78b736
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ addons:
- libdbus-c++-bin
language: cpp
before_script: cd mazda
script: make clean install
script: make clean release
deploy:
- provider: releases
api_key: $GITHUB_TOKEN
Expand Down
1 change: 1 addition & 0 deletions mazda/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
/headunit-mazda.files
/headunit-mazda.includes
/solib-deps-headunit-undef.txt
AndroidAuto_*.zip
4 changes: 3 additions & 1 deletion mazda/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ clean:

install: all
cp -a -f headunit installer/config/androidauto/data_persist/dev/bin/
zip -r $(APPLICATION_NAME)_$(APPLICATION_VERSION).zip installer/

release: install
zip -r -FS $(APPLICATION_NAME)_$(APPLICATION_VERSION).zip installer/

-include $(DEPS)

Expand Down

1 comment on commit e78b736

@rolanie3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do I pull the latest installer with this script? Or can I just import the project to Visual Studio and compile and copy to flash drive?

Please sign in to comment.