Displaying 5 results from an estimated 5 matches for "_tags".
Did you mean:
tags
2006 Sep 21
0
[PATCH] Clean up and enhance "make tags"
# HG changeset patch
# User agriffis@vino.americas.hpqcorp.net
# Date 1158803249 14400
# Node ID 010ae57673c7103737b84044eaa57a43347a0f0e
# Parent 596b0e4fbef4069bfb3ee9807f2ccfdd65052c46
Clean up and enhance "make tags"
- delete correct file in _tags rule
- don''t prune nonexistent files/dirs
- call exuberant-ctags with additional flags from Linux:
-I to ignore some misleading hits
--extra=+f to include an entry for the basename of every file
--c-kinds=+px to add prototypes and external variable declarations
Signed-off-by:...
2010 Jan 15
1
Chaining queries in ActiveRecord
...simple search function,
so that I can search for a picture with several given tags.
Now say I want to search for pics that are tagged with "dog" and
"cat". The simplest way to do this is to use named_scopes, for
example:
[code]
class Pic < ActiveRecord::Base
has_many :pic_tags
has_many :tags, :through => :pic_tags
named_scope :dog, options_for_tag(“dog") # options_for_tag(tag) is a
method to generate joined table search conditions, not important
named_scope :cat, options_for_tag("cat")
end
[/code]
But when I chain the query like this:
[code]Pic....
2012 Feb 22
5
[PATCH] Add gtags target for xen/Makefile. Also update .hgignore.
....PHONY: _distclean
_distclean: clean
- rm -f tags TAGS cscope.files cscope.in.out cscope.out cscope.po.out
+ rm -f tags TAGS cscope.files cscope.in.out cscope.out cscope.po.out gtags.files GTAGS GPATH GRTAGS GSYMS
$(TARGET).gz: $(TARGET)
gzip -f -9 < $< > $@.new
@@ -159,6 +159,12 @@ _tags:
$(call set_exuberant_flags,ctags); \
$(all_sources) | xargs ctags $$exuberant_flags -a
+.PHONY: _gtags
+_gtags:
+ set -e; rm -f GTAGS GSYMS GPATH GRTAGS
+ $(all_sources) > gtags.files
+ gtags -f gtags.files
+
.PHONY: _cscope
_cscope:
$(all_sources) > cscope.files
2010 Jun 27
0
[LLVMdev] ocaml bindings + ocamlbuild problem
...iter + ocamlbuild, but it doesn't
recognize its dependency on Unix, so it doesn't compile. Minimal
case:
(* FILE: minimal.ml *)
let main () =
let m = Llvm.create_module (Llvm.global_context ()) "test" in
ignore (Llvm_bitwriter.output_bitcode stdout m)
;;
main ()
(* FILE: _tags *)
<*.{byte,native}>: g++, use_unix, use_llvm, use_llvm_bitwriter
(* FILE: myocamlbuild.ml *)
open Ocamlbuild_plugin;;
ocaml_lib ~extern:true "llvm";;
ocaml_lib ~extern:true "llvm_bitwriter";;
flag ["link"; "ocaml"; "g++"] (S[A"-cc&q...
2006 Feb 20
1
Form linking question
Hello all.
I currently have a method that is accessed from a form using this:
View:
<%= start_form_tag :action => :history %>
<p><label for="componentlog_cl_compname">Component Name</label><br />
<%= text_field ''componentlog'', ''cl_compname'', :class => ''mandatory'',
:value =>