Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin NPM packages using npm shrinkwrap for repeatable builds #794

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ drone.sublime-project
drone.sublime-workspace
.vagrant

node_modules/

*~
~*
*.sqlite
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SHA := $(shell git rev-parse --short HEAD)
all: build

deps:
# which npm && npm -g install uglify-js less autoprefixer
npm install
go get github.com/GeertJohan/go.rice/rice
go get github.com/franela/goblin
go get -t -v ./...
Expand Down Expand Up @@ -40,7 +40,7 @@ clean:
rm -f packaging/root/usr/local/bin/droned

lessc:
lessc --clean-css server/app/styles/drone.less | autoprefixer > server/app/styles/drone.css
node_modules/less/bin/lessc --clean-css server/app/styles/drone.less | autoprefixer > server/app/styles/drone.css

packages: clean build embed deb rpm

Expand Down
Loading