File tree Expand file tree Collapse file tree 5 files changed +35
-2
lines changed Expand file tree Collapse file tree 5 files changed +35
-2
lines changed Original file line number Diff line number Diff line change 11_build 
22wasm 
3+ * .install 
Original file line number Diff line number Diff line change @@ -81,6 +81,9 @@ smallinttest:	smallint
8181dunetest :
8282	dune test 
8383
84+ install :
85+ 	dune build -p $(NAME )  @install
86+ 	dune install
8487
8588#  Miscellaneous targets
8689
Original file line number Diff line number Diff line change 11(include_subdirs unqualified)
22
33(library
4-  (name  wasm)
4+  (public_name  wasm)
55 ; The 'wasm' module shall not be part of the library, as it would start the
66 ; Wasm REPL every time in all the dependencies.
77 ; We exclude the 'wast' module as it is only used for the JS build.
88 ; 'smallint' is a separate test module.
99 (modules :standard \ wasm smallint wast))
1010
1111(executable
12-  (name  wasm)
12+  (public_name  wasm)
1313 (modules wasm)
1414 (libraries wasm)
1515 (flags
Original file line number Diff line number Diff line change 11(lang dune 2 .9)
2+ 
3+ (name  " wasm"  )
4+ 
5+ ( generate_opam_files true ) 
6+ 
7+ ( package
8+   (name  " wasm"  )) 
Original file line number Diff line number Diff line change 1+ # This file is generated by dune, edit dune-project instead
2+ opam-version: "2.0"
3+ depends: [
4+   "dune" {>= "2.9"}
5+   "odoc" {with-doc}
6+ ]
7+ build: [
8+   ["dune" "subst"] {dev}
9+   [
10+     "dune"
11+     "build"
12+     "-p"
13+     name
14+     "-j"
15+     jobs
16+     "--promote-install-files=false"
17+     "@install"
18+     "@runtest" {with-test}
19+     "@doc" {with-doc}
20+   ]
21+   ["dune" "install" "-p" name "--create-install-files" name]
22+ ]
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments