jazzy 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/DEV_README.md +35 -0
- data/Gemfile +11 -0
- data/Gemfile.lock +32 -0
- data/README.md +7 -29
- data/bin/generate_swift_header.sh +14 -0
- data/jazzy.gemspec +3 -3
- data/lib/jazzy.rb +146 -153
- data/lib/jazzy/klass.mustache +137 -312
- data/lib/jazzy/klass.rb +0 -4
- data/lib/jazzy/partials/klass-method.mustache +68 -82
- data/lib/jazzy/partials/klass-overview.mustache +2 -2
- data/lib/jazzy/partials/klass-property.mustache +40 -51
- data/parser/ASTDump.xcodeproj/project.pbxproj +21 -8
- data/parser/clang-c/Index.h +17 -1
- data/{parser/ASTDump → sample}/JAZMusician.h +1 -1
- data/{parser/ASTDump → sample}/JAZMusician.m +0 -0
- data/sample/Musician.swift +37 -0
- data/screenshot.jpg +0 -0
- metadata +13 -7
- data/bin/SwiftHeader +0 -22
data/bin/SwiftHeader
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
#!/bin/sh
|
2
|
-
|
3
|
-
# Generate temporary swift module map
|
4
|
-
header_file=$1
|
5
|
-
module_name='TempJazzyModule'
|
6
|
-
module_file='module.modulemap'
|
7
|
-
echo "module $module_name { header \"$header_file\" }" > $module_file
|
8
|
-
|
9
|
-
# Locations of sourcekitd-test and sdk
|
10
|
-
sourcekitd_test='/Applications/Xcode6-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/sourcekitd-test'
|
11
|
-
sdk='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk'
|
12
|
-
|
13
|
-
# Print generated Swift header (full)
|
14
|
-
|
15
|
-
# Doc Info Version
|
16
|
-
$sourcekitd_test -req=doc-info -module $module_name -- -I `pwd` -sdk $sdk
|
17
|
-
|
18
|
-
# Full Version
|
19
|
-
# $sourcekitd_test -req=interface-gen -module $module_name -- -I `pwd` -sdk $sdk
|
20
|
-
|
21
|
-
# Remove temporary module file
|
22
|
-
rm $module_file
|