This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,28 @@
We shouldn't copy files that aren't sources
$ . ./helpers.sh
$ make_lockdir
$ src=_foo
$ mkdir $src
$ cd $src
Should we include node_modules in this list?
$ mkdir .git .hg _darcs _esy _opam _build node_modules
We include an empty file because of a bug that prevents us from copying empty directories
$ find . -type d -exec touch {}/file \;
$ touch .#foo
$ cd ..
$ make_lockpkg foo <<EOF
> (version 0.0.1)
> (build (system "find . | sort"))
> (source (copy $PWD/$src))
> EOF
$ build_pkg foo
.
./file
./node_modules
./node_modules/file