Add Python script and update VSIX generator rules to pre-generate the Atmel Studio cache files required to make the extension visible.
parent
8e11439f91
commit
132de6ed22
@ -0,0 +1 @@
|
|||||||
|
This module requires the ASF Project Generator to be extracted into this directory (i.e. with the Python scripts in the current folder). The project generator can be extracted from the release versions of Atmel Studio's ASF extension.
|
@ -0,0 +1,20 @@
|
|||||||
|
"""
|
||||||
|
LUFA Library
|
||||||
|
Copyright (C) Dean Camera, 2013.
|
||||||
|
|
||||||
|
dean [at] fourwalledcubicle [dot] com
|
||||||
|
www.lufa-lib.org
|
||||||
|
"""
|
||||||
|
|
||||||
|
import sys
|
||||||
|
import os
|
||||||
|
sys.path.append("ProjectGenerator")
|
||||||
|
|
||||||
|
try:
|
||||||
|
from asf_avrstudio5_interface import PythonFacade
|
||||||
|
except ImportError:
|
||||||
|
print "The ASF project generator is missing."
|
||||||
|
|
||||||
|
p = PythonFacade(os.path.abspath(__file__))
|
||||||
|
p.check_extension_database_sanity(sys.argv[1])
|
||||||
|
p.generate_extension_cache_files(sys.argv[1])
|
Loading…
Reference in new issue