Ignoring _build.

This commit is contained in:
Simon Forman 2022-09-23 08:54:37 -07:00
parent d0477eb516
commit d717b594c4
55 changed files with 0 additions and 266 deletions

View File

@ -1,5 +0,0 @@
# dune init project helloworld
# OCAMLPARAM: unset
# Shared cache: disabled
# Workspace root: /usr/home/sforman/src/Joypy/implementations/Ocaml
# Auto-detected concurrency: 8

View File

@ -1,2 +0,0 @@
(ocamlc /usr/home/sforman/.opam/default/bin/ocamlc.opt)
(ocaml_config_vars (afl_instrument false) (architecture amd64) (asm "cc -c") (asm_cfi_supported true) (ast_impl_magic_number Caml1999M031) (ast_intf_magic_number Caml1999N031) (bytecomp_c_compiler "cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 ") (bytecomp_c_libraries "-lm -lpthread") (c_compiler cc) (ccomp_type cc) (cma_magic_number Caml1999A031) (cmi_magic_number Caml1999I031) (cmo_magic_number Caml1999O031) (cmt_magic_number Caml1999T031) (cmx_magic_number Caml1999Y031) (cmxa_magic_number Caml1999Z031) (cmxs_magic_number Caml1999D031) (default_executable_name a.out) (default_safe_string true) (exec_magic_number Caml1999X031) (ext_asm .s) (ext_dll .so) (ext_exe "") (ext_lib .a) (ext_obj .o) (flambda false) (flat_float_array true) (function_sections true) (host x86_64-unknown-freebsd12.3) (int_size 63) (linear_magic_number Caml1999L031) (model default) (naked_pointers true) (native_c_compiler "cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 ") (native_c_libraries "-lm ") (native_pack_linker "ld -r -o ") (ocamlc_cflags "-O2 -fno-strict-aliasing -fwrapv -pthread -fPIC ") (ocamlc_cppflags "-D_FILE_OFFSET_BITS=64 ") (ocamlopt_cflags "-O2 -fno-strict-aliasing -fwrapv -pthread -fPIC ") (ocamlopt_cppflags "-D_FILE_OFFSET_BITS=64 ") (os_type Unix) (ranlib ranlib) (safe_string true) (standard_library /usr/home/sforman/.opam/default/lib/ocaml) (standard_library_default /usr/home/sforman/.opam/default/lib/ocaml) (supports_shared_libraries true) (system freebsd) (systhread_supported true) (target x86_64-unknown-freebsd12.3) (version 4.14.0) (windows_unicode false) (with_frame_pointers false) (word_size 64))

View File

@ -1 +0,0 @@
((6:ocamlc46:/usr/home/sforman/.opam/default/bin/ocamlc.opt)(17:ocaml_config_vars((14:afl_instrument5:false)(12:architecture5:amd64)(3:asm5:cc -c)(17:asm_cfi_supported4:true)(21:ast_impl_magic_number12:Caml1999M031)(21:ast_intf_magic_number12:Caml1999N031)(19:bytecomp_c_compiler75:cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 )(20:bytecomp_c_libraries14:-lm -lpthread)(10:c_compiler2:cc)(10:ccomp_type2:cc)(16:cma_magic_number12:Caml1999A031)(16:cmi_magic_number12:Caml1999I031)(16:cmo_magic_number12:Caml1999O031)(16:cmt_magic_number12:Caml1999T031)(16:cmx_magic_number12:Caml1999Y031)(17:cmxa_magic_number12:Caml1999Z031)(17:cmxs_magic_number12:Caml1999D031)(23:default_executable_name5:a.out)(19:default_safe_string4:true)(17:exec_magic_number12:Caml1999X031)(7:ext_asm2:.s)(7:ext_dll3:.so)(7:ext_exe0:)(7:ext_lib2:.a)(7:ext_obj2:.o)(7:flambda5:false)(16:flat_float_array4:true)(17:function_sections4:true)(4:host26:x86_64-unknown-freebsd12.3)(8:int_size2:63)(19:linear_magic_number12:Caml1999L031)(5:model7:default)(14:naked_pointers4:true)(17:native_c_compiler75:cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 )(18:native_c_libraries4:-lm )(18:native_pack_linker9:ld -r -o )(13:ocamlc_cflags48:-O2 -fno-strict-aliasing -fwrapv -pthread -fPIC )(15:ocamlc_cppflags23:-D_FILE_OFFSET_BITS=64 )(15:ocamlopt_cflags48:-O2 -fno-strict-aliasing -fwrapv -pthread -fPIC )(17:ocamlopt_cppflags23:-D_FILE_OFFSET_BITS=64 )(7:os_type4:Unix)(6:ranlib6:ranlib)(11:safe_string4:true)(16:standard_library41:/usr/home/sforman/.opam/default/lib/ocaml)(24:standard_library_default41:/usr/home/sforman/.opam/default/lib/ocaml)(25:supports_shared_libraries4:true)(6:system7:freebsd)(19:systhread_supported4:true)(6:target26:x86_64-unknown-freebsd12.3)(7:version6:4.14.0)(15:windows_unicode5:false)(19:with_frame_pointers5:false)(9:word_size2:64))))

View File

@ -1 +0,0 @@
version = 0.23.0

View File

@ -1,4 +0,0 @@
(executable
(public_name helloworld)
(name main)
(libraries helloworld))

View File

@ -1,24 +0,0 @@
type joy_type =
| JoySymbol of string
| JoyTrue
| JoyFalse
| JoyInt of int
| JoyList of joy_type list
(* type joy_list = joy_type list *)
let joy_true = JoyTrue
let joy_false = JoyFalse
let j_loop = JoySymbol "loop"
let zero = JoyInt 0
let dummy = JoyList [ joy_true; joy_false; j_loop; zero ]
let rec joy_to_string jt =
match jt with
| JoySymbol sym -> sym
| JoyTrue -> "true"
| JoyFalse -> "false"
| JoyInt i -> string_of_int i
| JoyList el -> "[" ^ String.concat " " (List.map joy_to_string el) ^ "]"
let () = print_endline (joy_to_string dummy)

View File

@ -1,4 +0,0 @@
(executable
(public_name helloworld)
(name main)
(libraries helloworld))

View File

@ -1,24 +0,0 @@
type joy_type =
| JoySymbol of string
| JoyTrue
| JoyFalse
| JoyInt of int
| JoyList of joy_type list
(* type joy_list = joy_type list *)
let joy_true = JoyTrue
let joy_false = JoyFalse
let j_loop = JoySymbol "loop"
let zero = JoyInt 0
let dummy = JoyList [ joy_true; joy_false; j_loop; zero ]
let rec joy_to_string jt =
match jt with
| JoySymbol sym -> sym
| JoyTrue -> "true"
| JoyFalse -> "false"
| JoyInt i -> string_of_int i
| JoyList el -> "[" ^ (String.concat " " (List.map joy_to_string el)) ^ "]";;
let () = print_endline (joy_to_string dummy)

View File

@ -1 +0,0 @@
(* Auto-generated by Dune *)

View File

@ -1,4 +0,0 @@
(lang dune 3.4)
(name helloworld)
(sections (lib .) (bin ../../bin))
(files (lib (META dune-package opam)) (bin (helloworld)))

View File

@ -1,8 +0,0 @@
lib: [
"_build/install/default/lib/helloworld/META"
"_build/install/default/lib/helloworld/dune-package"
"_build/install/default/lib/helloworld/opam"
]
bin: [
"_build/install/default/bin/helloworld"
]

View File

@ -1,31 +0,0 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "A short synopsis"
description: "A longer description"
maintainer: ["Maintainer Name"]
authors: ["Author Name"]
license: "LICENSE"
tags: ["topics" "to describe" "your" "project"]
homepage: "https://github.com/username/reponame"
doc: "https://url/to/documentation"
bug-reports: "https://github.com/username/reponame/issues"
depends: [
"ocaml"
"dune" {>= "3.4"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/username/reponame.git"

View File

@ -1,2 +0,0 @@
(library
(name helloworld))

View File

@ -1,2 +0,0 @@
(library
(name helloworld))

View File

@ -1,2 +0,0 @@
(test
(name helloworld))

View File

@ -1,2 +0,0 @@
(test
(name helloworld))

View File

@ -1 +0,0 @@
(* Auto-generated by Dune *)

View File

@ -1 +0,0 @@
../../../default/bin/main.exe

View File

@ -1 +0,0 @@
../../../../default/META.helloworld

View File

@ -1 +0,0 @@
../../../../default/helloworld.dune-package

View File

@ -1 +0,0 @@
../../../../default/helloworld.opam

View File

@ -1,143 +0,0 @@
# dune build --auto-promote @fmt
# OCAMLPARAM: unset
# Shared cache: disabled
# Workspace root: /usr/home/sforman/src/Joypy/implementations/Ocaml/helloworld
# Auto-detected concurrency: 8
$ /usr/home/sforman/.opam/default/bin/ocamlc.opt -config > /tmp/dune_9b5fa0_output
# Dune context:
# { name = "default"
# ; kind = "default"
# ; profile = Dev
# ; merlin = true
# ; for_host = None
# ; fdo_target_exe = None
# ; build_dir = "default"
# ; toplevel_path =
# Some External "/usr/home/sforman/.opam/default/lib/toplevel"
# ; ocaml_bin = External "/usr/home/sforman/.opam/default/bin"
# ; ocaml = Ok External "/usr/home/sforman/.opam/default/bin/ocaml"
# ; ocamlc = External "/usr/home/sforman/.opam/default/bin/ocamlc.opt"
# ; ocamlopt = Ok External "/usr/home/sforman/.opam/default/bin/ocamlopt.opt"
# ; ocamldep = Ok External "/usr/home/sforman/.opam/default/bin/ocamldep.opt"
# ; ocamlmklib =
# Ok External "/usr/home/sforman/.opam/default/bin/ocamlmklib.opt"
# ; env =
# map
# { "DUNE_OCAML_HARDCODED" : "/usr/home/sforman/.opam/default/lib"
# ; "DUNE_OCAML_STDLIB" : "/usr/home/sforman/.opam/default/lib/ocaml"
# ; "DUNE_SOURCEROOT" :
# "/usr/home/sforman/src/Joypy/implementations/Ocaml/helloworld"
# ; "INSIDE_DUNE" :
# "/usr/home/sforman/src/Joypy/implementations/Ocaml/helloworld/_build/default"
# ; "MANPATH" :
# "/usr/home/sforman/src/Joypy/implementations/Ocaml/helloworld/_build/install/default/bin"
# ; "OCAMLFIND_IGNORE_DUPS_IN" :
# "/usr/home/sforman/src/Joypy/implementations/Ocaml/helloworld/_build/install/default/lib"
# ; "OCAMLPATH" :
# "/usr/home/sforman/src/Joypy/implementations/Ocaml/helloworld/_build/install/default/lib"
# ; "OCAMLTOP_INCLUDE_PATH" :
# "/usr/home/sforman/src/Joypy/implementations/Ocaml/helloworld/_build/install/default/lib/toplevel"
# ; "OCAML_COLOR" : "always"
# ; "OPAMCOLOR" : "always"
# }
# ; findlib_paths = [ External "/usr/home/sforman/.opam/default/lib" ]
# ; arch_sixtyfour = true
# ; natdynlink_supported = true
# ; supports_shared_libraries = true
# ; ocaml_config =
# { version = "4.14.0"
# ; standard_library_default = "/usr/home/sforman/.opam/default/lib/ocaml"
# ; standard_library = "/usr/home/sforman/.opam/default/lib/ocaml"
# ; standard_runtime = "the_standard_runtime_variable_was_deleted"
# ; ccomp_type = "cc"
# ; c_compiler = "cc"
# ; ocamlc_cflags =
# [ "-O2"; "-fno-strict-aliasing"; "-fwrapv"; "-pthread"; "-fPIC" ]
# ; ocamlc_cppflags = [ "-D_FILE_OFFSET_BITS=64" ]
# ; ocamlopt_cflags =
# [ "-O2"; "-fno-strict-aliasing"; "-fwrapv"; "-pthread"; "-fPIC" ]
# ; ocamlopt_cppflags = [ "-D_FILE_OFFSET_BITS=64" ]
# ; bytecomp_c_compiler =
# [ "cc"
# ; "-O2"
# ; "-fno-strict-aliasing"
# ; "-fwrapv"
# ; "-pthread"
# ; "-fPIC"
# ; "-D_FILE_OFFSET_BITS=64"
# ]
# ; bytecomp_c_libraries = [ "-lm"; "-lpthread" ]
# ; native_c_compiler =
# [ "cc"
# ; "-O2"
# ; "-fno-strict-aliasing"
# ; "-fwrapv"
# ; "-pthread"
# ; "-fPIC"
# ; "-D_FILE_OFFSET_BITS=64"
# ]
# ; native_c_libraries = [ "-lm" ]
# ; native_pack_linker = [ "ld"; "-r"; "-o" ]
# ; cc_profile = []
# ; architecture = "amd64"
# ; model = "default"
# ; int_size = 63
# ; word_size = 64
# ; system = "freebsd"
# ; asm = [ "cc"; "-c" ]
# ; asm_cfi_supported = true
# ; with_frame_pointers = false
# ; ext_exe = ""
# ; ext_obj = ".o"
# ; ext_asm = ".s"
# ; ext_lib = ".a"
# ; ext_dll = ".so"
# ; os_type = "Unix"
# ; default_executable_name = "a.out"
# ; systhread_supported = true
# ; host = "x86_64-unknown-freebsd12.3"
# ; target = "x86_64-unknown-freebsd12.3"
# ; profiling = false
# ; flambda = false
# ; spacetime = false
# ; safe_string = true
# ; exec_magic_number = "Caml1999X031"
# ; cmi_magic_number = "Caml1999I031"
# ; cmo_magic_number = "Caml1999O031"
# ; cma_magic_number = "Caml1999A031"
# ; cmx_magic_number = "Caml1999Y031"
# ; cmxa_magic_number = "Caml1999Z031"
# ; ast_impl_magic_number = "Caml1999M031"
# ; ast_intf_magic_number = "Caml1999N031"
# ; cmxs_magic_number = "Caml1999D031"
# ; cmt_magic_number = "Caml1999T031"
# ; natdynlink_supported = true
# ; supports_shared_libraries = true
# ; windows_unicode = false
# }
# }
$ (cd _build/default && /usr/home/sforman/.opam/default/bin/ocamlformat --impl bin/main.ml) > _build/default/bin/.formatted/main.ml
$ /usr/local/bin/git --no-pager diff --no-index --color=always -u _build/default/bin/main.ml _build/default/bin/.formatted/main.ml
> diff --git a/_build/default/bin/main.ml b/_build/default/bin/.formatted/main.ml
> index 2fcd04c..fd4a636 100644
> --- a/_build/default/bin/main.ml
> +++ b/_build/default/bin/.formatted/main.ml
> @@ -14,11 +14,11 @@ let zero = JoyInt 0
> let dummy = JoyList [ joy_true; joy_false; j_loop; zero ]
>
> let rec joy_to_string jt =
> - match jt with
> - | JoySymbol sym -> sym
> - | JoyTrue -> "true"
> - | JoyFalse -> "false"
> - | JoyInt i -> string_of_int i
> - | JoyList el -> "[" ^ (String.concat " " (List.map joy_to_string el)) ^ "]";;
> + match jt with
> + | JoySymbol sym -> sym
> + | JoyTrue -> "true"
> + | JoyFalse -> "false"
> + | JoyInt i -> string_of_int i
> + | JoyList el -> "[" ^ String.concat " " (List.map joy_to_string el) ^ "]"
>
> let () = print_endline (joy_to_string dummy)
[1]