forked from mfulz_github/qmk_firmware
Add Atmel Studio Extension (VSIX) packaging files and scripts.
This commit is contained in:
parent
56f03a793c
commit
78e6e4f4c2
|
@ -0,0 +1,22 @@
|
|||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
|
||||
<Default Extension="vsixmanifest" ContentType="text/xml"/>
|
||||
|
||||
<Default Extension="jpg" ContentType="image/jpg"/>
|
||||
<Default Extension="png" ContentType="application/octet-stream"/>
|
||||
<Default Extension="bmp" ContentType="application/octet-stream"/>
|
||||
|
||||
<Default Extension="c" ContentType="application/octet-stream"/>
|
||||
<Default Extension="h" ContentType="application/octet-stream"/>
|
||||
<Default Extension="S" ContentType="application/octet-stream"/>
|
||||
|
||||
<Default Extension="txt" ContentType="text/plain"/>
|
||||
|
||||
<Default Extension="conf" ContentType="application/octet-stream"/>
|
||||
<Default Extension="inf" ContentType="application/octet-stream"/>
|
||||
|
||||
<Default Extension="xml" ContentType="text/xml"/>
|
||||
|
||||
<Default Extension="css" ContentType="application/octet-stream"/>
|
||||
<Default Extension="html" ContentType="text/html"/>
|
||||
<Default Extension="js" ContentType="application/octet-stream"/>
|
||||
</Types>
|
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<Vsix xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="1.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2010">
|
||||
<Identifier Id="FourWalledCubicle.LUFA.0e160d5c-e331-48d9-850b-e0387912171b">
|
||||
<Name>LUFA Library</Name>
|
||||
<Author>Dean Camera</Author>
|
||||
<Version>00.00.00</Version>
|
||||
<MoreInfoUrl>http://www.lufa-lib.org</MoreInfoUrl>
|
||||
<Description xml:space="preserve">LUFA USB Framework</Description>
|
||||
|
||||
<Icon>LUFA\DoxygenPages\Images\LUFA_thumb.png</Icon>
|
||||
<PreviewImage>LUFA\DoxygenPages\Images\LUFA.png</PreviewImage>
|
||||
|
||||
<SupportedProducts>
|
||||
<IsolatedShell Version="6.1">AtmelStudio</IsolatedShell>
|
||||
</SupportedProducts>
|
||||
<SupportedFrameworkRuntimeEdition MinVersion="4.0" MaxVersion="4.0" />
|
||||
|
||||
<Locale>1033</Locale>
|
||||
</Identifier>
|
||||
|
||||
<References/>
|
||||
<Content/>
|
||||
</Vsix>
|
|
@ -9,7 +9,7 @@
|
|||
# Makefile for the LUFA Atmel Studio Integration.
|
||||
# ---------------------------------------
|
||||
|
||||
LUFA_ROOT := ../
|
||||
LUFA_ROOT := ..
|
||||
DOXYGEN_TAG_FILE_XML := $(LUFA_ROOT)/Documentation/lufa_doc_tags.xml
|
||||
TEMP_MANIFEST_XML := manifest.xml
|
||||
EXTENSION_OUTPUT_XML := $(LUFA_ROOT)/../extension.xml
|
||||
|
@ -17,7 +17,7 @@ MODULE_OUTPUT_XML := $(LUFA_ROOT)/asf.xml
|
|||
XML_FILES := $(filter-out $(TEMP_MANIFEST_FILE), $(shell ls *.xml))
|
||||
LUFA_VERSION_NUM := $(shell grep LUFA_VERSION_STRING $(LUFA_ROOT)/Version.h | cut -d'"' -f2)
|
||||
|
||||
all: check_filenames generate_xml
|
||||
all: check_filenames generate_xml generate_vsix
|
||||
|
||||
clean:
|
||||
@rm $(TEMP_MANIFEST_XML) $(MODULE_OUTPUT_XML) $(EXTENSION_OUTPUT_XML)
|
||||
|
@ -47,6 +47,10 @@ generate_xml: $(TEMP_MANIFEST_XML)
|
|||
|
||||
@rm $(TEMP_MANIFEST_XML)
|
||||
|
||||
generate_vsix: $(EXTENSION_OUTPUT_XML) $(MODULE_OUTPUT_XML)
|
||||
cp VSIX/* $(LUFA_ROOT)/../
|
||||
cd $(LUFA_ROOT)/../; zip LUFA_AS_Extension.vsix -r --exclude=*StudioIntegration* *
|
||||
|
||||
check_filenames: $(TEMP_MANIFEST_XML)
|
||||
@for i in `xsltproc XSLT/lufa_filelist_transform.xslt $< | grep -v "^<" | sed -e "/^$$/d"`; do \
|
||||
if ( ! test -f "$(LUFA_ROOT)/$$i" ); then \
|
||||
|
|
Loading…
Reference in New Issue