delphivm 0.8.1 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/Thorfile.thor +2 -2
  3. data/delphivm.gemspec +1 -1
  4. data/delphivm.sublime-project +8 -0
  5. data/delphivm.sublime-workspace +453 -0
  6. data/lib/build_target.rb +84 -0
  7. data/lib/delphivm.rb +77 -137
  8. data/lib/delphivm/generator.rb +123 -0
  9. data/lib/delphivm/ide_services.rb +8 -3
  10. data/lib/delphivm/runner.rb +5 -8
  11. data/lib/delphivm/version.rb +3 -4
  12. data/lib/dvm/gen/app.thor +84 -0
  13. data/lib/dvm/ide.thor +3 -2
  14. data/lib/dvm/project.thor +1 -1
  15. data/lib/extensions.rb +1 -1
  16. data/templates/delphi/app.tt/.gitignore.tt +18 -0
  17. data/templates/delphi/app.tt/BDS.bat.tt +9 -0
  18. data/templates/delphi/app.tt/BUILD.bat.tt +19 -0
  19. data/templates/delphi/app.tt/README.md.tt +16 -0
  20. data/templates/delphi/app.tt/VERSION +1 -0
  21. data/templates/delphi/app.tt/license.txt +61 -0
  22. data/templates/delphi/app.tt/src/@D170/%{app_name}App.groupproj +45 -0
  23. data/templates/delphi/app.tt/src/source.optset +18 -0
  24. data/templates/delphi/dproj/sample.tt/samples/@D170/%{name}.dpr +12 -0
  25. data/templates/delphi/dproj/sample.tt/samples/@D170/%{name}.dproj +146 -0
  26. data/templates/delphi/dproj/src.tt/src/@D170/%{app_name}.dpr +12 -0
  27. data/templates/delphi/dproj/src.tt/src/@D170/%{app_name}.dproj +174 -0
  28. data/templates/delphi/dproj/test.tt/tests/@D170/%{name}.dpr +24 -0
  29. data/templates/delphi/dproj/test.tt/tests/@D170/%{name}.dproj +146 -0
  30. data/templates/delphi/samples.tt/samples/@D170/%{app_name}Samples.groupproj +44 -0
  31. data/templates/delphi/samples.tt/samples/samples.optset +19 -0
  32. data/templates/delphi/tests.tt/tests/@D170/%{app_name}Tests.groupproj +44 -0
  33. data/templates/delphi/tests.tt/tests/tests.optset +35 -0
  34. metadata +26 -2
@@ -0,0 +1,35 @@
1
+  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2
+ <PropertyGroup>
3
+ <DCC_Inlining>on</DCC_Inlining>
4
+ <DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
5
+ <DCC_IntegerOverflowCheck>true</DCC_IntegerOverflowCheck>
6
+ <DCC_Optimize>false</DCC_Optimize>
7
+ <DCC_LongStrings>true</DCC_LongStrings>
8
+ <DCC_StrictVarStrings>true</DCC_StrictVarStrings>
9
+ <DCC_DebugInformation>true</DCC_DebugInformation>
10
+ <DCC_LocalDebugSymbols>true</DCC_LocalDebugSymbols>
11
+ <DCC_RangeChecking>true</DCC_RangeChecking>
12
+ <DCC_DebugDCUs>true</DCC_DebugDCUs>
13
+ <DCC_AssertionsAtRuntime>true</DCC_AssertionsAtRuntime>
14
+ <DCC_ExtendedSyntax>true</DCC_ExtendedSyntax>
15
+ <DCC_OpenStringParams>true</DCC_OpenStringParams>
16
+ <DCC_ImportedDataReferences>true</DCC_ImportedDataReferences>
17
+ <DCC_SymbolReferenceInfo>2</DCC_SymbolReferenceInfo>
18
+ <DCC_IOChecking>true</DCC_IOChecking>
19
+ <DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
20
+ <DCC_ExeOutput>$(BDSPROJECTGROUPDIR)\out\$(IDEVersion)\$(Platform)\$(Config)\bin</DCC_ExeOutput>
21
+ <DCC_BplOutput>$(BDSPROJECTGROUPDIR)\out\$(IDEVersion)\$(Platform)\$(Config)\bin</DCC_BplOutput>
22
+ <DCC_UnitSearchPath>$(BDS)\Source\DUnit\src;$(BDSPROJECTGROUPDIR)\out\$(IDEVersion)\$(Platform)\Debug\lib;$(BDSPROJECTGROUPDIR)\out\$(IDEVersion)\$(Platform)\$(Config)\lib;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
23
+ <DCC_UnitAlias>WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;$(DCC_UnitAlias)</DCC_UnitAlias>
24
+ <DCC_DcpOutput>$(BDSPROJECTGROUPDIR)\out\$(IDEVersion)\$(Platform)\$(Config)\lib</DCC_DcpOutput>
25
+ <DCC_DcuOutput>$(BDSPROJECTGROUPDIR)\out\$(IDEVersion)\$(Platform)\$(Config)\lib</DCC_DcuOutput>
26
+ </PropertyGroup>
27
+ <ProjectExtensions>
28
+ <Borland.Personality>Delphi.Personality.12</Borland.Personality>
29
+ <Borland.ProjectType>OptionSet</Borland.ProjectType>
30
+ <BorlandProject>
31
+ <Delphi.Personality/>
32
+ </BorlandProject>
33
+ <ProjectFileVersion>12</ProjectFileVersion>
34
+ </ProjectExtensions>
35
+ </Project>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delphivm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jorge L. Cangas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-06 00:00:00.000000000 Z
11
+ date: 2013-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -55,6 +55,8 @@ files:
55
55
  - bin/delphivm
56
56
  - delphi_PROJECTICON.ico
57
57
  - delphivm.gemspec
58
+ - delphivm.sublime-project
59
+ - delphivm.sublime-workspace
58
60
  - dvmimports.org/.gitignore
59
61
  - dvmimports.org/404.html
60
62
  - dvmimports.org/Rakefile
@@ -93,15 +95,36 @@ files:
93
95
  - dvmimports.org/pages.html
94
96
  - dvmimports.org/sitemap.txt
95
97
  - dvmimports.org/tags.html
98
+ - lib/build_target.rb
96
99
  - lib/delphivm.rb
97
100
  - lib/delphivm/dsl.rb
101
+ - lib/delphivm/generator.rb
98
102
  - lib/delphivm/ide_services.rb
99
103
  - lib/delphivm/runner.rb
100
104
  - lib/delphivm/version.rb
105
+ - lib/dvm/gen/app.thor
101
106
  - lib/dvm/ide.thor
102
107
  - lib/dvm/project.thor
103
108
  - lib/dvm/vendor.thor
104
109
  - lib/extensions.rb
110
+ - templates/delphi/app.tt/.gitignore.tt
111
+ - templates/delphi/app.tt/BDS.bat.tt
112
+ - templates/delphi/app.tt/BUILD.bat.tt
113
+ - templates/delphi/app.tt/README.md.tt
114
+ - templates/delphi/app.tt/VERSION
115
+ - templates/delphi/app.tt/license.txt
116
+ - templates/delphi/app.tt/src/@D170/%{app_name}App.groupproj
117
+ - templates/delphi/app.tt/src/source.optset
118
+ - templates/delphi/dproj/sample.tt/samples/@D170/%{name}.dpr
119
+ - templates/delphi/dproj/sample.tt/samples/@D170/%{name}.dproj
120
+ - templates/delphi/dproj/src.tt/src/@D170/%{app_name}.dpr
121
+ - templates/delphi/dproj/src.tt/src/@D170/%{app_name}.dproj
122
+ - templates/delphi/dproj/test.tt/tests/@D170/%{name}.dpr
123
+ - templates/delphi/dproj/test.tt/tests/@D170/%{name}.dproj
124
+ - templates/delphi/samples.tt/samples/@D170/%{app_name}Samples.groupproj
125
+ - templates/delphi/samples.tt/samples/samples.optset
126
+ - templates/delphi/tests.tt/tests/@D170/%{app_name}Tests.groupproj
127
+ - templates/delphi/tests.tt/tests/tests.optset
105
128
  - vendor/imports.dvm
106
129
  homepage: http://github.com/jcangas/delphivm
107
130
  licenses: []
@@ -110,6 +133,7 @@ post_install_message:
110
133
  rdoc_options: []
111
134
  require_paths:
112
135
  - lib
136
+ - templates
113
137
  required_ruby_version: !ruby/object:Gem::Requirement
114
138
  requirements:
115
139
  - - '>='