lostmyname / heroku-buildpack-post-build-clean Goto Github PK
View Code? Open in Web Editor NEWBuildpack to remove unwanted files from the slug post-build
License: MIT License
Buildpack to remove unwanted files from the slug post-build
License: MIT License
Hi, I like the buildpack, but my use case is to delete source maps after they get created in the build step so I need basic glob functionality.
One idea is to do something like find . -name "${GLOB}" | xargs rm
. I'm happy to submit a pull request if you think this is a good route. Thanks!
I have tried to setup your buildpack (using Heroku new support for multiple buildpacks https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app) but my build failed with following error message:
-----> Fetching set buildpack https://github.com/Lostmyname/heroku-post-build-clean-buildpack... done
! Push rejected, failed to detect set buildpack https://github.com/Lostmyname/heroku-post-build-clean-buildpack
Any idea how to fix this problem?
remote: -----> POST BUILD CLEAN app detected
remote: Location # Heres a comment not found - ignoring
remote: Location *.psd not found - ignoring
remote: Location *.pdf not found - ignoring
remote: Location *.sketch not found - ignoring
remote: Location *.mpg not found - ignoring
remote: Location *.mp3 not found - ignoring
remote: Location /test not found - ignoring
remote: Location /spec not found - ignoring
remote: Location /vendor/usr/share/opencc/doc/* not found - ignoring
remote: Location /node_modules not found - ignoring
remote: Location /log/* not found - ignoring
remote: Location /tmp/* not found - ignoring
remote: Location /app/javascript/src/* not found - ignoring
remote: Location /.cache/yarn not found - ignoring
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.