hammerlab / ketrew

Keep Track of Experimental Workflows
http://www.hammerlab.org/docs/ketrew/master/index.html
Apache License 2.0
74 stars 10 forks source link

Port to 4.04.0 #499

Closed smondet closed 7 years ago

smondet commented 7 years ago

Right now Ketrew dos not build with OCaml 4.04.0.

smondet commented 7 years ago

There is a new function called Filename.extension:

module Filename :                                                                                                                                                                                                                                           sig                                                                                                                                                                                                                                                         val current_dir_name : string                                                                                                                                                                                                                         
    val parent_dir_name : string
    val dir_sep : string
    val concat : string -> string -> string
    val is_relative : string -> bool
    val is_implicit : string -> bool
    val check_suffix : string -> string -> bool
    val chop_suffix : string -> string -> string
    val extension : string -> string
    val remove_extension : string -> string
    val chop_extension : string -> string
    val basename : string -> string
    val dirname : string -> string
    val temp_file : ?temp_dir:string -> string -> string -> string
    val open_temp_file :
      ?mode:open_flag list ->
      ?perms:int ->
      ?temp_dir:string -> string -> string -> string * out_channel
    val get_temp_dir_name : unit -> string
    val set_temp_dir_name : string -> unit
    val temp_dir_name : string
    val quote : string -> string
  end
smondet commented 7 years ago

Done in #500 :)