devstructure / debra Goto Github PK
View Code? Open in Web Editor NEWThis project forked from rcrowley/debra
build Debian packages
License: Other
This project forked from rcrowley/debra
build Debian packages
License: Other
Essentially, make it easy to repeatedly build a project through Debra.
You won't always know ahead of time what flags you need, whether you need to bootstrap, etc.
This is bad:
73c57610c9e30c8b41ece4b814321f79 /home/rcrowley/work/puppet-config/debian/etc/cron.d/puppet
6a6584c444c84ae3003bc4a6e9958c14 /home/rcrowley/work/puppet-config/debian/etc/puppet/puppet.conf
This would be better:
73c57610c9e30c8b41ece4b814321f79 /etc/cron.d/puppet
6a6584c444c84ae3003bc4a6e9958c14 /etc/puppet/puppet.conf
You could leverage "fakeroot" to avoid needing root permissions:
diff --git a/Makefile.in b/Makefile.in
index 1caf7f1..4b20ff7 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -60,16 +60,11 @@ uninstall:
rmdir $(DESTDIR)$(datarootdir)/debra
deb:
-ifeq (root, $(shell whoami))
bin/debra create debian control
$(GIT) archive --prefix=debian/ HEAD | $(GZIP) >debian.tar.gz
bin/debra sourceinstall debian debian.tar.gz -p /usr
rm debian.tar.gz
- chown -R root:root debian
- bin/debra build debian debra_$(VERSION)_all.deb
+ fakeroot bin/debra build debian debra_$(VERSION)_all.deb
bin/debra destroy debian
-else
- @echo "You must be root to build a Debian package."
-endif
.PHONY: all install uninstall man deb
Ironically enough ;-)
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.