Add Python script and update VSIX generator rules to pre-generate the Atmel Studio cache files required to make the extension visible.
This commit is contained in:
parent
8e11439f91
commit
132de6ed22
4 changed files with 30 additions and 3 deletions
20
LUFA/StudioIntegration/generate_caches.py
Normal file
20
LUFA/StudioIntegration/generate_caches.py
Normal file
|
@ -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…
Add table
Add a link
Reference in a new issue