Running planet-compat locally
This commit is contained in:
parent
0c68b45488
commit
96fd55fdb6
|
@ -2,8 +2,7 @@
|
||||||
(require racket/runtime-path
|
(require racket/runtime-path
|
||||||
racket/file)
|
racket/file)
|
||||||
|
|
||||||
(define-runtime-path root "root")
|
(define root (getenv "PC_ROOT"))
|
||||||
(make-directory* root)
|
|
||||||
|
|
||||||
(define mins (build-path root "mins"))
|
(define mins (build-path root "mins"))
|
||||||
(make-directory* mins)
|
(make-directory* mins)
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
PATH=~/local/new-plt/racket/bin:$PATH
|
export PC_ROOT=~/Dev/local/pkg.rlo/planet-compat/root/
|
||||||
|
|
||||||
cd ~/local/new-plt/pkgs/plt-services/meta/pkg-index/planet-compat
|
cd $(dirname $0)
|
||||||
|
raco make update.rkt static.rkt
|
||||||
racket update.rkt
|
racket update.rkt
|
||||||
racket static.rkt
|
racket static.rkt
|
||||||
s3cmd -c ~/.s3cfg-plt sync --recursive --delete-removed root/cache/ s3://planet-compats.racket-lang.org/
|
s3cmd -c ~/.s3cfg-plt sync --recursive --delete-removed ${PC_ROOT}/cache/ s3://planet-compats.racket-lang.org/
|
||||||
|
|
|
@ -1,21 +1,20 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# planet-compat
|
# planet-compat
|
||||||
rsync -a --progress -h --delete --exclude root --exclude static-gen --exclude static-gen.gz --exclude compiled --exclude doc ../../meta/pkg-index/ plt-etc:local/new-plt/pkgs/plt-services/meta/pkg-index/
|
rsync -az --progress -h --delete --exclude root --exclude static-gen --exclude static-gen.gz --exclude compiled --exclude doc ../../meta/pkg-index/ plt-etc:local/new-plt/pkgs/plt-services/meta/pkg-index/
|
||||||
|
|
||||||
rsync -a --progress -h --delete plt-etc:local/galaxy-roots/planet-compat/ ~/Dev/local/pkg.rlo/planet-compat/root/
|
rsync -az --progress -h --delete plt-etc:local/galaxy-roots/official/ ~/Dev/local/pkg.rlo/official/root/
|
||||||
rsync -a --progress -h --delete plt-etc:local/galaxy-roots/official/ ~/Dev/local/pkg.rlo/official/root/
|
|
||||||
|
|
||||||
rsync -a --progress -h --delete plt-etc:local/new-plt/pkgs/plt-services/meta/pkg-index//official/static-gen/ official/static-gen
|
rsync -az --progress -h --delete plt-etc:local/new-plt/pkgs/plt-services/meta/pkg-index//official/static-gen/ official/static-gen
|
||||||
rsync -a --progress -h --delete plt-etc:local/new-plt/pkgs/plt-services/meta/pkg-index//official/static-gen.gz/ official/static-gen.gz
|
rsync -az --progress -h --delete plt-etc:local/new-plt/pkgs/plt-services/meta/pkg-index//official/static-gen.gz/ official/static-gen.gz
|
||||||
|
|
||||||
# official
|
# official
|
||||||
rsync -a --progress -h --delete --exclude root --exclude compiled --exclude doc ../../meta/pkg-index/ plt-etc:local/galaxy/meta/pkg-index/
|
rsync -az --progress -h --delete --exclude root --exclude compiled --exclude doc ../../meta/pkg-index/ plt-etc:local/galaxy/meta/pkg-index/
|
||||||
|
|
||||||
rsync -a --progress -h --delete --exclude root --exclude compiled --exclude doc ../../../../racket/collects/pkg/ plt-etc:local/galaxy/pkg/
|
rsync -az --progress -h --delete --exclude root --exclude compiled --exclude doc ../../../../racket/collects/pkg/ plt-etc:local/galaxy/pkg/
|
||||||
|
|
||||||
rsync -a --progress -h --delete --exclude root --exclude compiled --exclude doc ../../../../pkgs/racket-pkgs/racket-test/tests/pkg plt-etc:local/galaxy/tests/pkg/
|
rsync -az --progress -h --delete --exclude root --exclude compiled --exclude doc ../../../../pkgs/racket-pkgs/racket-test/tests/pkg plt-etc:local/galaxy/tests/pkg/
|
||||||
|
|
||||||
rsync -a --progress -h --delete --exclude root --exclude compiled --exclude doc ../../../../racket/collects/pkg plt-etc:local/plt/collects/pkg/
|
rsync -az --progress -h --delete --exclude root --exclude compiled --exclude doc ../../../../racket/collects/pkg plt-etc:local/plt/collects/pkg/
|
||||||
|
|
||||||
rsync -a --progress -h --delete --exclude compiled ../../../web-server-pkgs/web-server-lib/web-server ../../../../racket/collects/net plt-etc:local/plt/collects/
|
rsync -az --progress -h --delete --exclude compiled ../../../web-server-pkgs/web-server-lib/web-server ../../../../racket/collects/net plt-etc:local/plt/collects/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user