aboutsummaryrefslogblamecommitdiff
path: root/Makefile
blob: 25763ba1567a67015ed3c2e73df26087c670ca32 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                 
                
                                       

                                       
                                       
 
    
                                                                   

                          


                           
      

                
                               
                                   
                                       
                                                           
                                                                

      
                      
 


                                                            
 

                           

                          
                                                                   
                                                                                         
                               
NAME         = package-repository
MAILING_LIST = public-inbox

guix-sources = \
	src/xyz/euandreh/latest.scm   \
	src/xyz/euandreh/packages.scm \
	src/xyz/euandreh/posix.scm    \
	src/xyz/euandreh/queue.scm    \

all:
	for s in $(guix-sources); do guix build -Lsrc/ -f $$s; done
	nix-shell --run ''

refresh:
	sh scripts/paku -rg

check:

dev-check: check
	sh aux/assert-nixfmt.sh
	sh aux/assert-shellcheck.sh
	sh aux/workflow/assert-todos.sh
	sh aux/workflow/assert-changelog.sh $(NAME) $(NAME)
	sh aux/workflow/assert-readme.sh $(NAME) $(MAILING_LIST)

clean:
	rm -rf public/

public/dependencies.svg: dependencies.dot
	mkdir -p public
	dot dependencies.dot -Tsvg > public/dependencies.svg

public/paku.html: paku.json
	mkdir -p public
	sh scripts/paku -l

public: README.md TODOs.md public/dependencies.svg public/paku.html
	sh aux/workflow/public.sh "EuAndreh's package repository" $(NAME) $(MAILING_LIST)
	cp EuAndreh.key public/