parent
8dee8d5f5c
commit
0c7c421baa
@ -0,0 +1,31 @@ |
||||
{ stdenv, fetchFromGitLab, git, go }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
version = "0.9.0"; |
||||
name = "gitaly-${version}"; |
||||
|
||||
srcs = fetchFromGitLab { |
||||
owner = "gitlab-org"; |
||||
repo = "gitaly"; |
||||
rev = "v${version}"; |
||||
sha256 = "0dydlq33ly2f2b3iyg967i2fq1alh6wa7hsq4nh7lmgy8v0w38ab"; |
||||
}; |
||||
|
||||
buildInputs = [ git go ]; |
||||
|
||||
buildPhase = '' |
||||
make PREFIX=$out |
||||
''; |
||||
|
||||
installPhase = '' |
||||
mkdir -p $out/bin |
||||
make install PREFIX=$out |
||||
''; |
||||
|
||||
meta = with stdenv.lib; { |
||||
homepage = http://www.gitlab.com/; |
||||
platforms = platforms.unix; |
||||
maintainers = with maintainers; [ roblabla ]; |
||||
license = licenses.mit; |
||||
}; |
||||
} |
@ -0,0 +1,17 @@ |
||||
diff --git a/support/go_build.rb b/support/go_build.rb
|
||||
index 82f94d2..40ba35e 100644
|
||||
--- a/support/go_build.rb
|
||||
+++ b/support/go_build.rb
|
||||
@@ -25,9 +25,8 @@ module GoBuild
|
||||
def run!(env, cmd)
|
||||
raise "env must be a hash" unless env.is_a?(Hash)
|
||||
raise "cmd must be an array" unless cmd.is_a?(Array)
|
||||
-
|
||||
- if !system(env, *cmd)
|
||||
- abort "command failed: #{env.inspect} #{cmd.join(' ')}"
|
||||
- end
|
||||
+ puts "Starting #{env.inspect} #{cmd.join(' ')}"
|
||||
+ Process::wait(Process::spawn(env, *cmd))
|
||||
+ abort "command failed: #{env.inspect} #{cmd.join(' ')}" unless $?.exitstatus == 0
|
||||
end
|
||||
end
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,89 @@ |
||||
{ |
||||
"name": "gitlab", |
||||
"version": "0.0.0", |
||||
"private": true, |
||||
"scripts": { |
||||
"dev-server": "nodemon --watch config/webpack.config.js -- ./node_modules/.bin/webpack-dev-server --config config/webpack.config.js", |
||||
"eslint": "eslint --max-warnings 0 --ext .js,.vue .", |
||||
"eslint-fix": "eslint --max-warnings 0 --ext .js,.vue --fix .", |
||||
"eslint-report": "eslint --max-warnings 0 --ext .js,.vue --format html --output-file ./eslint-report.html .", |
||||
"karma": "karma start config/karma.config.js --single-run", |
||||
"karma-coverage": "BABEL_ENV=coverage karma start config/karma.config.js --single-run", |
||||
"karma-start": "karma start config/karma.config.js", |
||||
"webpack": "webpack --config config/webpack.config.js", |
||||
"webpack-prod": "NODE_ENV=production webpack --config config/webpack.config.js" |
||||
}, |
||||
"dependencies": { |
||||
"babel-core": "^6.22.1", |
||||
"babel-loader": "^6.2.10", |
||||
"babel-plugin-transform-define": "^1.2.0", |
||||
"babel-preset-latest": "^6.24.0", |
||||
"babel-preset-stage-2": "^6.22.0", |
||||
"bootstrap-sass": "^3.3.6", |
||||
"compression-webpack-plugin": "^0.3.2", |
||||
"core-js": "^2.4.1", |
||||
"css-loader": "^0.28.0", |
||||
"d3": "^3.5.11", |
||||
"deckar01-task_list": "^2.0.0", |
||||
"document-register-element": "^1.3.0", |
||||
"dropzone": "^4.2.0", |
||||
"emoji-unicode-version": "^0.2.1", |
||||
"eslint-plugin-html": "^2.0.1", |
||||
"exports-loader": "^0.6.4", |
||||
"file-loader": "^0.11.1", |
||||
"jed": "^1.1.1", |
||||
"jquery": "^2.2.1", |
||||
"jquery-ujs": "^1.2.1", |
||||
"js-cookie": "^2.1.3", |
||||
"jszip": "^3.1.3", |
||||
"jszip-utils": "^0.0.2", |
||||
"marked": "^0.3.6", |
||||
"mousetrap": "^1.4.6", |
||||
"name-all-modules-plugin": "^1.0.1", |
||||
"pdfjs-dist": "^1.8.252", |
||||
"pikaday": "^1.5.1", |
||||
"prismjs": "^1.6.0", |
||||
"raphael": "^2.2.7", |
||||
"raven-js": "^3.14.0", |
||||
"raw-loader": "^0.5.1", |
||||
"react-dev-utils": "^0.5.2", |
||||
"select2": "3.5.2-browserify", |
||||
"sql.js": "^0.4.0", |
||||
"stats-webpack-plugin": "^0.4.3", |
||||
"three": "^0.84.0", |
||||
"three-orbit-controls": "^82.1.0", |
||||
"three-stl-loader": "^1.0.4", |
||||
"timeago.js": "^2.0.5", |
||||
"underscore": "^1.8.3", |
||||
"url-loader": "^0.5.8", |
||||
"visibilityjs": "^1.2.4", |
||||
"vue": "^2.2.6", |
||||
"vue-loader": "^11.3.4", |
||||
"vue-resource": "^0.9.3", |
||||
"vue-template-compiler": "^2.2.6", |
||||
"webpack": "^2.6.1", |
||||
"webpack-bundle-analyzer": "^2.8.2" |
||||
}, |
||||
"devDependencies": { |
||||
"babel-plugin-istanbul": "^4.0.0", |
||||
"eslint": "^3.10.1", |
||||
"eslint-config-airbnb-base": "^10.0.1", |
||||
"eslint-import-resolver-webpack": "^0.8.1", |
||||
"eslint-plugin-filenames": "^1.1.0", |
||||
"eslint-plugin-import": "^2.2.0", |
||||
"eslint-plugin-jasmine": "^2.1.0", |
||||
"eslint-plugin-promise": "^3.5.0", |
||||
"istanbul": "^0.4.5", |
||||
"jasmine-core": "^2.5.2", |
||||
"jasmine-jquery": "^2.1.1", |
||||
"karma": "^1.4.1", |
||||
"karma-coverage-istanbul-reporter": "^0.2.0", |
||||
"karma-jasmine": "^1.1.0", |
||||
"karma-mocha-reporter": "^2.2.2", |
||||
"karma-phantomjs-launcher": "^1.0.2", |
||||
"karma-sourcemap-loader": "^0.3.7", |
||||
"karma-webpack": "^2.0.2", |
||||
"nodemon": "^1.11.0", |
||||
"webpack-dev-server": "^2.4.2" |
||||
} |
||||
} |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue