Menu

[r129]: / OCamlPlugin / README-dev  Maximize  Restore  History

Download this file

51 lines (40 with data), 1.8 kB

Building the plugin
===================

Just run :
% cd /path/to/source/directory/
% xcodebuild

Installing the plugin
=====================

Xcode 3.x :
Copy "build/Release/OCamlPlugin.pbplugin" to "~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/"
Copy "Target Templates/*" to "~/Library/Application Support/Developer/Shared/Xcode/Target Templates/OCaml/"
Copy "Project Templates/*" to "~/Library/Application Support/Developer/Shared/Xcode/Project Templates/OCaml/"

Xcode 2.x :
Copy "build/Release/OCamlPlugin.pbplugin" to "~/Library/Application Support/Apple/Developer Tools/Plug-ins/"
Copy "Target Templates/*" to "~/Library/Application Support/Apple/Developer Tools/Target Templates/OCaml/"
Copy "Project Templates/*" to "~/Library/Application Support/Apple/Developer Tools/Project Templates/OCaml/"

Tests
=====

test syntax highlighting :
- main.ml : comments, recursive comments, keywords, strings, use of ' in a name
- not tested : none
- not working : block recognition (excepted comments), characters (defined with syntax 'a')

test compiler & linker with bytecode output (clean before running) :
- .ml .mli .mly .mll compilation (=> .cmo & .cmi files)
- link a library
- link a command with standard libraries
- link a command with a custom library
xcodebuild -target "Test depend" -configuration Bytecode

test compiler & linker with native code output :
- same as previous
xcodebuild -target "Test depend" -configuration Native

test compiler & linker with native code output :
- main program is writen with OCaml
- main program is writen with OCaml

test command output parsing (in "Test depend") :
- high level warning & notice
- selection of a high level information select matching raw output
- inline error message in source code

test include dependences :
- 
-