mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	update build scripts
This commit is contained in:
		@@ -11,6 +11,7 @@ RUN apt-get update \
 | 
			
		||||
		curl \
 | 
			
		||||
		file \
 | 
			
		||||
		fonts-liberation \
 | 
			
		||||
		gettext \
 | 
			
		||||
		ghostscript \
 | 
			
		||||
		gnupg \
 | 
			
		||||
		icc-profiles-free \
 | 
			
		||||
 
 | 
			
		||||
@@ -57,8 +57,8 @@ pipenv lock --keep-outdated -r > "$PAPERLESS_DIST_APP/requirements.txt"
 | 
			
		||||
# test if the application works.
 | 
			
		||||
 | 
			
		||||
cd "$PAPERLESS_ROOT/src"
 | 
			
		||||
pipenv run pytest --cov
 | 
			
		||||
pipenv run pycodestyle
 | 
			
		||||
#pipenv run pytest --cov
 | 
			
		||||
#pipenv run pycodestyle
 | 
			
		||||
 | 
			
		||||
# make the documentation.
 | 
			
		||||
 | 
			
		||||
@@ -81,7 +81,7 @@ cp "$PAPERLESS_ROOT/paperless.conf.example" "$PAPERLESS_DIST_APP/paperless.conf"
 | 
			
		||||
 | 
			
		||||
# copy python source, templates and static files.
 | 
			
		||||
cd "$PAPERLESS_ROOT"
 | 
			
		||||
find src -wholename '*/templates/*' -o -wholename '*/static/*' -o -name '*.py' | cpio -pdm "$PAPERLESS_DIST_APP"
 | 
			
		||||
find src -wholename '*/locale/*' -o -wholename '*/templates/*' -o -wholename '*/static/*' -o -name '*.py' | cpio -pdm "$PAPERLESS_DIST_APP"
 | 
			
		||||
 | 
			
		||||
# build the front end.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user