xch-blockchain/build_scripts
Patrick Maslana 3a2dc484b5
Generate a license directory that contains licenses missing from the installers (#15146)
* Add scripts to build a tree of licenses that are missing from the installers

* Add a line that was accidentally removed

* add steps in the build_license_directory script to install pip-licenses and license-checker

* Pip install pip-license

* Added commands to check the working dir in the build_license_direcotory.sh

* Fix the path for the npm commands

* Copy the library dir over

* Add a line to cd back to the previous dir in the build_licenses_directory.sh file

* Fix path to go back to "build_scripts"

* Fixing a typo with a path in the build_license_directory.sh file

* Troubleshoot path

* Change word from library to licenses

* Add a command to list contents of "dist/$CLI_DEB_BASE/opt/chia/" for troubleshooting

* Copy the license file to the "GUI" directory

* Fix the last for loop

* Move the step to change directory back to build scripts in the build_license_directory.sh file

* Add some more steps to troubleshoot the path and license-checker usage

* Fix a typo

* Add an "npm install ." before running the license-checker

* Fix a typo

* Change back to the build_scripts dir before the first loop in build_license_directory.sh file

* Revert "Change back to the build_scripts dir before the first loop in build_license_directory.sh file"

This reverts commit a3e88a2583.

* Fix the path for moving the license file

* Change the first loop for printing licenses from npm license-checker

* Add steps to copy the license file over to the builds and comment out the "npm install ." step out of the build_license_firectory script

* Add npm ci to the build_license_directory file

* Adding a dir for troubleshooting

* Fix errors in the scripts

* Fix a path to the licenses file

* Remove a dir from the windows installer script

* Remove a copy command

* Remove a few more copy commands

* Adding a ps1 script for usage in the windows installer build script

* Replace the powershell script

* Made a couple changes to the ps1 script for building the license directory

* Remove the ps1 script for building the license dir

* Add a new script for the windows installer to build the license dir

* Fix issues with the code for windows

* Remove the -1 from NF

* Changing the script for windows to test

* Remove filename=$(basename "$i")

* Remove some ls command lines

* Add "cp -r dist/daemon ../chia-blockchain-gui/packages/gui" to the RPM installer script

* Remove "|| 'exit" or "cd' || return" from when CD'ing in the license creation scripts

* Remove extra set of ||
2023-06-21 16:51:05 -05:00
..
assets Ensure `chia-blockchain` still opens UI on Linux (#13826) 2022-11-17 13:53:38 -06:00
npm_global fix: upgrade n from 8.0.2 to 8.2.0 (#13020) 2022-09-27 12:35:23 -05:00
npm_linux build(deps): bump minimatch and electron-builder in /build_scripts/npm_linux (#15321) 2023-05-17 14:43:21 -05:00
npm_macos build(deps): bump minimatch and electron-builder in /build_scripts/npm_macos (#15322) 2023-05-17 14:43:02 -05:00
npm_windows Bump json5 from 1.0.1 to 1.0.2 in /build_scripts/npm_windows (#14747) 2023-05-17 16:10:40 -05:00
__init__.py just put __init__.py files where we have .py files (plus subdirectories) (#10129) 2022-02-07 13:16:13 -08:00
build_license_directory.sh Generate a license directory that contains licenses missing from the installers (#15146) 2023-06-21 16:51:05 -05:00
build_linux_deb-1-gui.sh Renamed chia packages to use the @Chia-Network scope Updates build scripts to account for the scope rename (#14050) 2022-12-05 11:44:43 -06:00
build_linux_deb-2-installer.sh Generate a license directory that contains licenses missing from the installers (#15146) 2023-06-21 16:51:05 -05:00
build_linux_rpm-1-gui.sh Renamed chia packages to use the @Chia-Network scope Updates build scripts to account for the scope rename (#14050) 2022-12-05 11:44:43 -06:00
build_linux_rpm-2-installer.sh Generate a license directory that contains licenses missing from the installers (#15146) 2023-06-21 16:51:05 -05:00
build_macos-1-gui.sh Renamed chia packages to use the @Chia-Network scope Updates build scripts to account for the scope rename (#14050) 2022-12-05 11:44:43 -06:00
build_macos-2-installer.sh Generate a license directory that contains licenses missing from the installers (#15146) 2023-06-21 16:51:05 -05:00
build_win_license_dir.sh Generate a license directory that contains licenses missing from the installers (#15146) 2023-06-21 16:51:05 -05:00
build_windows-1-gui.ps1 Renamed chia packages to use the @Chia-Network scope Updates build scripts to account for the scope rename (#14050) 2022-12-05 11:44:43 -06:00
build_windows-2-installer.ps1 Generate a license directory that contains licenses missing from the installers (#15146) 2023-06-21 16:51:05 -05:00
check_dependency_artifacts.py util: Remove legacy keyring support (#13398) 2022-11-18 10:33:18 -06:00
clean-runner.sh more set -o errexit (#10468) 2022-03-17 09:13:27 -07:00
installer-version.py hint build_scripts (#14739) 2023-03-06 11:55:02 -06:00