We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4759237 commit 456bff4Copy full SHA for 456bff4
Makefile
@@ -1,19 +1,22 @@
1
.PHONY: all
2
3
-all: full
+all: index index-archive full
4
@
5
6
-index-only:
7
- opam-mk-repo -index
+index:
+ git ls-tree -r HEAD | awk '{print "0o"substr($$1,length($$1)-3,4) " " $$4}' > urls.txt
8
+
9
+index-archive:
10
+ tar cz compilers opam descr url > index.tar.gz
11
12
full:
- opam-mk-repo -all
13
+ opam-mk-repo
14
-PUBLISH_DIR=../opam.ocamlpro.com/
15
+PUBLISH_DIR=../mirage.github.com/opam/
16
publish: index index-archive
17
mkdir -p $(PUBLISH_DIR)
18
rsync -avz --delete urls.txt index.tar.gz compilers archives descr opam url files $(PUBLISH_DIR)
19
20
clean:
- rm -rf archives
21
+ rm -rf archives tmp
22
0 commit comments