Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
This paste will be private.
==== //depot/main/Apps/Komodo-devel/src/modules/spellcheck/Conscript#3 - /data/home/ACTIVEDND/ericp/main/Apps/Komodo-devel/src/modules/spellcheck/Conscript ==== @@ -34,9 +34,13 @@ {'KOMODO_SHORT_VERSION' => $komodoShortVersion}); -# create the jar and then the xpi file -$cons->Command -( +if ($buildFlavour ne "full") { +$cons->InstallAs("$mozExtensionDir/komodospellchecker\@ActiveState.com/install.rdf", 'install.rdf'); +$cons->InstallAs("$mozExtensionDir/komodospellchecker\@ActiveState.com/chrome.manifest", 'devbuild.manifest'); +} else { + # create the jar and then the xpi file + $cons->Command + ( ["komodospellchecker.xpi", "komodospellchecker.jar"], # needed for 1.8 extensions "install.rdf", @@ -56,8 +60,9 @@ $unsiloedPythonExe bin/run-in-dir.py %1:d zip -Dr komodospellchecker.jar content $unsiloedPythonExe bin/run-in-dir.py %1:d zip komodospellchecker.xpi komodospellchecker.jar install.rdf chrome.manifest ) - ); - -$cons->InstallAs("$mozExtensionDir/komodospellchecker\@ActiveState.com/komodospellchecker.jar", 'komodospellchecker.jar'); -$cons->InstallAs("$mozExtensionDir/komodospellchecker\@ActiveState.com/install.rdf", 'install.rdf'); -$cons->InstallAs("$mozExtensionDir/komodospellchecker\@ActiveState.com/chrome.manifest", 'chrome.manifest'); + ); + $cons->InstallAs("$mozExtensionDir/komodospellchecker\@ActiveState.com/komodospellchecker.jar", 'komodospellchecker.jar'); + $cons->InstallAs("$mozExtensionDir/komodospellchecker\@ActiveState.com/install.rdf", 'install.rdf'); + $cons->InstallAs("$mozExtensionDir/komodospellchecker\@ActiveState.com/chrome.manifest", 'chrome.manifest'); + $cons->Install("$supportDir/modules", 'komodospellchecker.xpi'); +}
From the Design Piracy series on my blog: