githwxi / ATS-Postiats

ATS2: Unleashing the Potentials of Types and Templates
www.ats-lang.org
Other
354 stars 54 forks source link

automating build distribution process further #184

Closed bbarker closed 6 years ago

bbarker commented 6 years ago

This is just to make things a little quicker.

Also, a couple of build issues I noticed. The first is the following (ATS2-Postiats-include has a different version)

$ ls -al ATS2-* .tgz                                                                                                                  
-rw-r--r--  1 brandon brandon 11191716 Mar 17 20:13 ATS2-Postiats-0.3.10.tgz                                                                                                        
-rw-r--r--  1 brandon brandon    63812 Mar 17 20:13 ATS2-Postiats-contrib-0.3.10.tgz                                                                                                
-rw-r--r--  1 brandon brandon   378983 Mar 17 20:13 ATS2-Postiats-include-0.3.9.tgz         

The next is that in .gitignore there are somethings that aren't being ignored but should be:

Untracked files:                                                                                                                                                                    
  (use "git add <file>..." to include in what will be committed)                                                                                                                    

        doc/DISTRIB/ATS-Postiats-include/patscontrib/GTK/CATS/gdk.cats                                                                                                              
        doc/DISTRIB/ATS-Postiats-include/patscontrib/GTK/CATS/gdk/                                                                                                                  
        doc/DISTRIB/ATS-Postiats-include/patscontrib/GTK/CATS/gtk.cats                                                                                                              
        doc/DISTRIB/ATS-Postiats-include/patscontrib/GTK/CATS/gtk/                                                                                                                  
        doc/DISTRIB/ATS-Postiats-include/patscontrib/glib/CATS/glib-object.cats                                                                                                     
        doc/DISTRIB/ATS-Postiats-include/patscontrib/glib/CATS/glib.cats                                                                                                            
        doc/DISTRIB/ATS-Postiats/libats/ATS2/DATS/fcntainer/array0.dats                                                                                                             
        doc/DISTRIB/ATS-Postiats/libats/ATS2/DATS/fcntainer/integer.dats                                                                                                            
        doc/DISTRIB/ATS-Postiats/libats/ATS2/DATS/fcntainer/intrange.dats                                                                                                           
        doc/DISTRIB/ATS-Postiats/libats/ATS2/DATS/fcntainer/list0.dats                                                                                                              
        doc/DISTRIB/ATS-Postiats/libats/ATS2/DATS/fcntainer/main.dats                                                                                                               
        doc/DISTRIB/ATS-Postiats/libats/ATS2/SATS/fcntainer.sats                                                                                                                    
        doc/DISTRIB/ATS-Postiats/libats/ML/COMPILE/DATS/array0.dats                                                                                                                 
        doc/DISTRIB/ATS-Postiats/libats/ML/COMPILE/DATS/funarray.dats                                                                                                               
        doc/DISTRIB/ATS-Postiats/libats/ML/COMPILE/DATS/funmap.dats                                                                                                                 
        doc/DISTRIB/ATS-Postiats/libats/ML/COMPILE/DATS/hashtblref.dats                                                                                                             
        doc/DISTRIB/ATS-Postiats/libats/ML/COMPILE/DATS/string.dats                                                                                                                 
        doc/DISTRIB/ATS-Postiats/libats/ML/COMPILE/mylibies.hats                                                                                                                    
        doc/DISTRIB/ATS-Postiats/utils/myatscc/BUILD/                                                                                                                               
        doc/DISTRIB/ATS-Postiats/utils/myatscc/DATS/                                                                                                                                
        doc/DISTRIB/ATS-Postiats/utils/myatscc/Makefile                                                                                                                             
        doc/DISTRIB/ATS-Postiats/utils/myatscc/Makefile_build                                                                                                                       
        doc/DISTRIB/ATS-Postiats/utils/myatscc/README                                                                                                                               
        doc/DISTRIB/ATS-Postiats/utils/myatscc/SATS/                                                                                                                                
        doc/DISTRIB/ATS2-Postiats-0.3.10.tgz                                                                                                                                        
        doc/DISTRIB/ATS2-Postiats-0.3.10/                                                                                                                                           
        doc/DISTRIB/ATS2-Postiats-contrib-0.3.10.tgz                                                                                                                                
        doc/DISTRIB/ATS2-Postiats-include-0.3.9.tgz                                                                                                                                 
        doc/DISTRIB/ATS2-Postiats-include-0.3.9/                   

I wonder if this can be simplified a bit in the gitignore so to catch all these automatically.

githwxi commented 6 years ago

Thanks!

Could you put your name and contact info in make_distrib.sh? In this way, one may readily contact you for questions and/or fixes.

githwxi commented 6 years ago

I added a bit more info into doc/DISTRIB/README, which should make it clear how the version number can be updated in the Makefiles used to build ATS.

githwxi commented 6 years ago

I moved make_distrib.sh to $PATSHOME/share/SCRIPT/buildRelease.sh, which git-clones ATS-Postiats and ATS-Postiats-contrib and then builds the three packages for release: ATS-Postiats, ATS-Postiats-contrib, and ATS-include.