Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lufa
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Strand
lufa
Commits
bbffe94a
Commit
bbffe94a
authored
12 years ago
by
Dean Camera
Browse files
Options
Downloads
Patches
Plain Diff
Ensure the VSIX Python script aborts if the ASF project generator is missing.
parent
eac62057
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
LUFA/StudioIntegration/generate_caches.py
+23
-8
23 additions, 8 deletions
LUFA/StudioIntegration/generate_caches.py
LUFA/StudioIntegration/makefile
+1
-1
1 addition, 1 deletion
LUFA/StudioIntegration/makefile
with
24 additions
and
9 deletions
LUFA/StudioIntegration/generate_caches.py
+
23
−
8
View file @
bbffe94a
...
...
@@ -10,11 +10,26 @@ import sys
import
os
sys
.
path
.
append
(
"
ProjectGenerator
"
)
def
main
():
try
:
from
asf_avrstudio5_interface
import
PythonFacade
except
ImportError
:
print
"
The ASF project generator is missing.
"
sys
.
exit
()
p
=
PythonFacade
(
os
.
path
.
abspath
(
__file__
))
print
"
[Project Generator] Checking database sanity...
"
sys
.
stdout
.
flush
()
p
.
check_extension_database_sanity
(
sys
.
argv
[
1
])
print
"
[Project Generator] Building cache files...
"
sys
.
stdout
.
flush
()
p
.
generate_extension_cache_files
(
sys
.
argv
[
1
])
print
"
[Project Generator] Cache files created.
"
if
__name__
==
"
__main__
"
:
sys
.
exit
(
main
())
\ No newline at end of file
This diff is collapsed.
Click to expand it.
LUFA/StudioIntegration/makefile
+
1
−
1
View file @
bbffe94a
...
...
@@ -53,7 +53,7 @@ generate_vsix: $(EXTENSION_OUTPUT_XML) $(MODULE_OUTPUT_XML)
@
python generate_caches.py
$(
LUFA_ROOT
)
/../
@echo
"Archiving Content..."
@cd
$(LUFA_ROOT)/../
&&
zip
contents.zip
-q
-9
-r
--exclude
=
*
$(
notdir
$(
DOXYGEN_TAG_FILE_XML
))
--exclude
=
*
StudioIntegration
*
LUFA Bootloaders Demos Projects extension.xml README.txt
@cd
$(LUFA_ROOT)/../
&&
zip
contents.zip
-q
-9
-r
--exclude
=
*
$(
notdir
$(
DOXYGEN_TAG_FILE_XML
))
--exclude
=
*
StudioIntegration
*
--exclude
=
*
Maintenance
*
LUFA Bootloaders Demos Projects extension.xml README.txt
@echo
"Creating VSIX Dependencies..."
@cp
$(LUFA_ROOT)/DoxygenPages/Images/LUFA_thumb.png
$(LUFA_ROOT)/../PreviewThumb.png
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment