aboutsummaryrefslogblamecommitdiff
path: root/Makefile
blob: 491328437660dc73e638a816d7fb0e3e7074502c (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:
	sh aux/assert-nixfmt.sh
	sh aux/assert-shellcheck.sh
	sh aux/workflow/assert-todos.sh
	sh aux/workflow/assert-readme.sh $(NAME) $(MAILING_LIST)

dev-check: check

clean:
	rm -rf public/ dependencies.svg

dependencies.svg: dependencies.dot
	dot dependencies.dot -Tsvg > dependencies.svg

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