Skip to content
Snippets Groups Projects
Commit e87912d8 authored by pini's avatar pini
Browse files

Merge branch 'pini-dockerignore' into 'dev'

docker: include .gitignore into .dockerignore

See merge request !1421
parents a5b302a4 551f585b
No related branches found
No related tags found
1 merge request!1421docker: include .gitignore into .dockerignore
# Do not edit this file. It is generated from this command:
# ./dockerignore.make
.cargo .cargo
.git* .git*
doc doc
dockerignore.make
gui gui
test test
# ------------------
# .gitignore content
# ------------------
*.sublime*
node_modules/
*.html
npm-debug.log
bin/jpgp*.jar
.idea/
gui/nw
# Vim swap files
*~
*.swp
*.swo
# Vagrant
.vagrant/
vagrant/*.log
vagrant/duniter
# Python compiled
*.pyc
# Releases
/work
*.deb
*.tar.gz
*.log
*.exe
# vscode
.vscode
# istanbul
.nyc_output
coverage/
# typecode
typedoc/
# files generated by tsc
/index.js*
/index.d.ts
/server.js*
/server.d.ts
*/**/*.js*
app/**/*.d.ts
neon/lib/*.d.ts
test/**/*.d.ts
# files generated by neon
neon/native/artifacts.json
# rust binaries
bin/duniter
neon/native/index.node
target
# files generated by rust tests
neon/native/tests/*.txt
neon/native/tests/wotb-*
test2.bin.gz
**/*.wot
#!/usr/bin/make -f
define newline
endef
define echomultiline
/usr/bin/echo -e '$(subst $(newline),\n,$1)'
endef
define HEADER
# Do not edit this file. It is generated from this command:
# ./dockerignore.make
endef
define DOCKERIGNORE
.cargo
.git*
doc
dockerignore.make
gui
test
endef
define GITIGNORE_HEADER
# ------------------
# .gitignore content
# ------------------
endef
all: .dockerignore
.PHONY: .dockerignore
.dockerignore: .gitignore
$(call echomultiline,$(HEADER)) >$@.tmp
$(call echomultiline,$(DOCKERIGNORE)) >>$@.tmp
$(call echomultiline,$(GITIGNORE_HEADER)) >>$@.tmp
cat .gitignore >>$@.tmp
mv $@.tmp $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment