origen 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ddcef5808db67ab10feab260ef68a062de23e384
4
+ data.tar.gz: a31d3955e204c3b270e59a40882ee9c116e0cd44
5
+ SHA512:
6
+ metadata.gz: ee60258b03e12ea02ea097851f11038ae22df7d09f3bd95daa2ffa30c5a2a52ce61aa06d9f682f8177262b54133f1dcfad391542c82aade6ca3ca33289cdc6af
7
+ data.tar.gz: 6885d4c03c07339c966e6ee242f6397af151ada6dd93f0d22fc29ccb8ac3ea0970bcc498179dcdbf3701fa8492b047a1f1fc8c26977b0fb3114c4675fc5bb169
data/bin/origen ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ puts "Coming soon..."
data/config/version.rb ADDED
@@ -0,0 +1,8 @@
1
+ module Origen
2
+ MAJOR = 0
3
+ MINOR = 0
4
+ BUGFIX = 1
5
+ DEV = nil
6
+
7
+ VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
8
+ end
@@ -0,0 +1,33 @@
1
+ namespace 'gem' do
2
+ root = File.expand_path('../../..', __FILE__)
3
+
4
+ require "#{root}/config/version"
5
+
6
+ GEM_SPEC = "#{root}/origen.gemspec"
7
+ GEM_NAME = "origen-#{Origen::VERSION}.gem"
8
+ GEM_SERVER = 'http://rgen-hub.am.freescale.net:9292'
9
+
10
+ built_gem_path = nil
11
+
12
+ desc "Build #{GEM_NAME} into the pkg directory"
13
+ task :build do
14
+ sh("gem build -V '#{GEM_SPEC}'") do |_ok, _res|
15
+ outdir = File.join(root, 'pkg')
16
+ FileUtils.mkdir_p(outdir)
17
+ FileUtils.mv(GEM_NAME, outdir)
18
+ built_gem_path = File.join(outdir, GEM_NAME)
19
+ puts "Origen #{Origen::VERSION} built to pkg/#{GEM_NAME}"
20
+ end
21
+ end
22
+
23
+ desc "Push #{GEM_NAME} to Rubygems"
24
+ task release: [:build] do
25
+ sh("gem push #{built_gem_path}") do |ok, _res|
26
+ if ok
27
+ puts "Origen #{Origen::VERSION} has been released successfully"
28
+ else
29
+ puts 'Something went wrong!'
30
+ end
31
+ end
32
+ end
33
+ end
metadata ADDED
@@ -0,0 +1,75 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: origen
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Stephen McGinty
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-03-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '10'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: loco
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description:
42
+ email:
43
+ - stephen.mcginty@freescale.com
44
+ executables:
45
+ - origen
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - bin/origen
50
+ - config/version.rb
51
+ - lib/tasks/gem.rake
52
+ homepage:
53
+ licenses: []
54
+ metadata: {}
55
+ post_install_message:
56
+ rdoc_options: []
57
+ require_paths:
58
+ - lib
59
+ required_ruby_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 1.9.3
64
+ required_rubygems_version: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 1.8.11
69
+ requirements: []
70
+ rubyforge_project:
71
+ rubygems_version: 2.2.2
72
+ signing_key:
73
+ specification_version: 4
74
+ summary: A Semiconductor Developer's Kit
75
+ test_files: []