build(cordova): simplify build, use cordova in a more standard way
This commit is contained in:
parent
4ccf10d1b3
commit
d5e6b8fab8
14 changed files with 175 additions and 133 deletions
|
|
@ -9,16 +9,16 @@ BASE=$(CURDIR)
|
|||
|
||||
all: $(ZIPFILE)
|
||||
|
||||
dir:
|
||||
dir:
|
||||
rm -rf $(BUILDDIR)
|
||||
mkdir -p $(BUILDDIR)
|
||||
cp manifest.json $(BUILDDIR)/manifest.json
|
||||
cp -vf $(INITIAL) $(BUILDDIR)
|
||||
|
||||
files:
|
||||
cd ../public && rsync -rLRv --exclude-from $(BASE)/exclude $(INCLUDE) $(BASE)/$(BUILDDIR) && cd -
|
||||
cd ../www && rsync -rLRv --exclude-from $(BASE)/exclude $(INCLUDE) $(BASE)/$(BUILDDIR) && cd -
|
||||
cd .. && rsync -rLRv ./bower_components/trezor-connect/chrome/* $(BASE)/$(BUILDDIR)/ && cd -
|
||||
|
||||
|
||||
|
||||
$(ZIPFILE): dir files
|
||||
cd $(BUILDDIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue