Skip to content

Commit bef963a

Browse files
committed
Add some files to rake clean and make sure rake compile generates files
1 parent 2f2f619 commit bef963a

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

pkcs11_luna/Rakefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ GENERATED_FILES = [
2121
"ext/std_structs.rb"
2222
]
2323

24+
CLEAN.include [
25+
'ext/pk11l_struct_impl.inc',
26+
'ext/pk11l_struct_def.inc',
27+
'ext/pk11l_const_def.inc',
28+
'ext/pk11l_struct.doc',
29+
]
2430
CLEAN.include SHARED_FILES
2531
CLEAN.include GENERATED_FILES
2632
CLEAN.include 'lib/pkcs11_luna_ext.so'
@@ -38,6 +44,7 @@ task :remove_pkg do
3844
rm_rf 'pkg'
3945
end
4046
task :gem => [:remove_pkg]
47+
task :compile => GENERATED_FILES
4148

4249
hoe = Hoe.spec 'pkcs11_luna' do
4350
developer('SafeNet', 'support@safenet-inc.com')

pkcs11_protect_server/Rakefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ GENERATED_FILES = [
2121
"ext/std_structs.rb"
2222
]
2323

24+
CLEAN.include [
25+
'ext/pk11s_struct_impl.inc',
26+
'ext/pk11s_struct_def.inc',
27+
'ext/pk11s_const_def.inc',
28+
'ext/pk11s_struct.doc',
29+
]
2430
CLEAN.include SHARED_FILES
2531
CLEAN.include GENERATED_FILES
2632
CLEAN.include 'lib/pkcs11_protect_server_ext.so'
@@ -37,6 +43,7 @@ task :remove_pkg do
3743
rm_rf 'pkg'
3844
end
3945
task :gem => [:remove_pkg]
46+
task :compile => GENERATED_FILES
4047

4148
hoe = Hoe.spec 'pkcs11_protect_server' do
4249
developer('Lars Kanis', 'kanis@comcard.de')

0 commit comments

Comments
 (0)