Skip to content

Commit

Permalink
deduplicate with symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
katrinafyi committed Jun 25, 2024
1 parent 470f1b5 commit cee7ccf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ def main():

shutil.copytree(result + '/' + path + '/.', OUT_PATH + '/' + v, copy_function=shutil.copy)

subprocess.check_call(['chmod', '+rw', '-R', OUT_PATH + '/' + v])
subprocess.check_call(['nix', 'run', 'nixpkgs#jdupes', '--', '-r', OUT_PATH, '-l'])

shutil.copy('./index.html', OUT_PATH)
shutil.copy('./reset.css', OUT_PATH)

Expand Down
4 changes: 4 additions & 0 deletions versions.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
1,github:katrinafyi/pac-nix/d2b687c2f77439adea84716f5e40d01bcf5c19e1#aslp_web,lib/ocaml/4.14.1/site-lib/aslp_web/,2024-06-25 14:01:20+1000
2,github:katrinafyi/pac-nix/d2b687c2f77439adea84716f5e40d01bcf5c19e1#aslp_web,lib/ocaml/4.14.1/site-lib/aslp_web/,2024-06-25 14:01:20+1000
3,github:katrinafyi/pac-nix/d2b687c2f77439adea84716f5e40d01bcf5c19e1#aslp_web,lib/ocaml/4.14.1/site-lib/aslp_web/,2024-06-25 14:01:20+1000
4,github:katrinafyi/pac-nix/d2b687c2f77439adea84716f5e40d01bcf5c19e1#aslp_web,lib/ocaml/4.14.1/site-lib/aslp_web/,2024-06-25 14:01:20+1000
5,github:katrinafyi/pac-nix/d2b687c2f77439adea84716f5e40d01bcf5c19e1#aslp_web,lib/ocaml/4.14.1/site-lib/aslp_web/,2024-06-25 14:01:20+1000

0 comments on commit cee7ccf

Please sign in to comment.