forked from mfulz_github/qmk_firmware
Clean up VSIX generation scripts.
This commit is contained in:
parent
af241316de
commit
2709627970
|
@ -3,7 +3,7 @@
|
||||||
<Org>FourWalledCubicle</Org>
|
<Org>FourWalledCubicle</Org>
|
||||||
<ShortName>LUFA</ShortName>
|
<ShortName>LUFA</ShortName>
|
||||||
<Author>Dean Camera</Author>
|
<Author>Dean Camera</Author>
|
||||||
<Description></Description>
|
<Description/>
|
||||||
<FollowFolderStructure>True</FollowFolderStructure>
|
<FollowFolderStructure>True</FollowFolderStructure>
|
||||||
</Identifier>
|
</Identifier>
|
||||||
<AsfContent Type="zip" Path="contents.zip">
|
<AsfContent Type="zip" Path="contents.zip">
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
|
|
||||||
<!-- Atmel Studio framework VSIX XML transform file -->
|
<!-- Atmel Studio framework VSIX XML transform file -->
|
||||||
|
|
||||||
|
<!-- Updates an asf-manifest.xml document to add appropriate version
|
||||||
|
information. -->
|
||||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||||
<xsl:output method="xml" omit-xml-declaration="yes"/>
|
<xsl:output method="xml" omit-xml-declaration="yes"/>
|
||||||
|
|
||||||
|
|
|
@ -72,8 +72,10 @@ generate_vsix: $(EXTENSION_OUTPUT_XML) $(MODULE_OUTPUT_XML)
|
||||||
check_filenames: $(MODULE_OUTPUT_XML)
|
check_filenames: $(MODULE_OUTPUT_XML)
|
||||||
@echo Verifying referenced filenames of ASF.xml modules...
|
@echo Verifying referenced filenames of ASF.xml modules...
|
||||||
@for f in `find $(LUFA_ROOT)/../ -name "asf.xml"`; do \
|
@for f in `find $(LUFA_ROOT)/../ -name "asf.xml"`; do \
|
||||||
xsltproc XSLT/lufa_filelist_transform.xslt $$f | grep -v "^<" | sed -e "/^$$/d" | while read -r i; do \
|
echo "Checking $$f..."; \
|
||||||
if ( ! test -f "`dirname $$f`/$$i" ); then \
|
asf_file_dir=`dirname $$f`; \
|
||||||
|
xsltproc XSLT/lufa_filelist_transform.xslt $$f | sed -e "/^$$/d" | while read -r i; do \
|
||||||
|
if ( ! test -f "$$asf_file_dir/$$i" ); then \
|
||||||
echo "Source file \"$$i\" referenced in $$f does not exist!"; \
|
echo "Source file \"$$i\" referenced in $$f does not exist!"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
|
|
Loading…
Reference in New Issue