Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
3db57b20
Commit
3db57b20
authored
21 years ago
by
Martin Nilsson
Browse files
Options
Downloads
Patches
Plain Diff
Removed some annoyances.
Rev: tools/release_checks.pike:1.5
parent
f39bcf89
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/release_checks.pike
+10
-18
10 additions, 18 deletions
tools/release_checks.pike
with
10 additions
and
18 deletions
tools/release_checks.pike
+
10
−
18
View file @
3db57b20
...
@@ -93,24 +93,16 @@ int test_unicode() {
...
@@ -93,24 +93,16 @@ int test_unicode() {
int test_realpike() {
int test_realpike() {
int status = 1;
int status = 1;
foreach(Filesystem.Traversion("lib"); string path; string file)
if(has_suffix(file, ".pike") || has_suffix(file, ".pmod"))
// bin and tools shouldn't really be #pike-ified, since they
if(!has_value(Stdio.read_file(path+file),"#pike")) {
// should run with the pike it is bundled with.
write("%s%s is missing a #pike directive.\n", path,file);
foreach( ({ "lib", /* "bin", "tools" */ }), string dir)
status = 0;
foreach(Filesystem.Traversion(dir); string path; string file)
}
if(has_suffix(file, ".pike") || has_suffix(file, ".pmod"))
foreach(Filesystem.Traversion("bin"); string path; string file)
if(!has_value(Stdio.read_file(path+file),"#pike")) {
if(has_suffix(file, ".pike"))
write("%s%s is missing a #pike directive.\n", path,file);
if(!has_value(Stdio.read_file(path+file),"#pike")) {
status = 0;
write("%s%s is missing a #pike directive.\n", path,file);
}
status = 0;
}
foreach(Filesystem.Traversion("tools"); string path; string file)
if(has_suffix(file, ".pike"))
if(!has_value(Stdio.read_file(path+file),"#pike")) {
write("%s%s is missing a #pike directive.\n", path,file);
status = 0;
}
foreach(Filesystem.Traversion("src"); string path; string file)
foreach(Filesystem.Traversion("src"); string path; string file)
if(file=="module.pmod.in" &&
if(file=="module.pmod.in" &&
!has_value(Stdio.read_file(path+file),"#pike")) {
!has_value(Stdio.read_file(path+file),"#pike")) {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment