Skip to content

Commit

Permalink
Renamed to Data::Hopen
Browse files Browse the repository at this point in the history
Also:
- updated Changes.
- Moved repo to GH/hopenbuild/Data-Hopen
- Added --appveyor and --avbadge arguments to support/readme.pl
- Began removing the app-specific code, which is now in the App-hopen repo
  • Loading branch information
Chris White committed Feb 13, 2019
1 parent 8f89a6d commit 2acfb34
Show file tree
Hide file tree
Showing 67 changed files with 435 additions and 2,756 deletions.
8 changes: 7 additions & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Revision history for Build-Hopen
Revision history for Data-Hopen

0.000009 2019-02-13
Renamed from Build::Hopen to Data::Hopen

0.000008 2019-02-09
Tweaked File::Glob usage to support Perl 5.14

0.000007 2019-02-08
First version that can generate a Makefile
Expand Down
65 changes: 24 additions & 41 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -1,43 +1,29 @@
bin/hopen
Changes
lib/Build/Hopen.pm
lib/Build/Hopen/App.pm
lib/Build/Hopen/AppUtil.pm
lib/Build/Hopen/Arrrgs.pm
lib/Build/Hopen/Base.pm
lib/Build/Hopen/BuildSystemGlobals.pm
lib/Build/Hopen/Conventions.pod
lib/Build/Hopen/G.pod
lib/Build/Hopen/G/CollectOp.pm
lib/Build/Hopen/G/DAG.pm
lib/Build/Hopen/G/Entity.pm
lib/Build/Hopen/G/FilesOp.pm
lib/Build/Hopen/G/Goal.pm
lib/Build/Hopen/G/GraphBuilder.pm
lib/Build/Hopen/G/Link.pm
lib/Build/Hopen/G/Node.pm
lib/Build/Hopen/G/Op.pm
lib/Build/Hopen/G/Runnable.pm
lib/Build/Hopen/Gen.pm
lib/Build/Hopen/Gen/Make.pm
lib/Build/Hopen/H.pm
lib/Build/Hopen/HopenFileKit.pm
lib/Build/Hopen/Phase.pod
lib/Build/Hopen/Phase/Check.pm
lib/Build/Hopen/Phase/Gen.pm
lib/Build/Hopen/Phases.pm
lib/Build/Hopen/Scope.pm
lib/Build/Hopen/Scope/Environment.pm
lib/Build/Hopen/Scope/Hash.pm
lib/Build/Hopen/Scope/Inputs.pm
lib/Build/Hopen/Scope/Overrides.pm
lib/Build/Hopen/T/Gnu.pm
lib/Build/Hopen/T/Gnu/C.pm
lib/Build/Hopen/Tool.pm
lib/Build/Hopen/Toolchain.pm
lib/Build/Hopen/Util/Data.pm
lib/Build/Hopen/Util/Filename.pm
lib/Build/Hopen/Util/NameSet.pm
lib/Data/Hopen.pm
lib/Data/Hopen/Arrrgs.pm
lib/Data/Hopen/Base.pm
lib/Data/Hopen/G.pod
lib/Data/Hopen/G/CollectOp.pm
lib/Data/Hopen/G/DAG.pm
lib/Data/Hopen/G/Entity.pm
lib/Data/Hopen/G/FilesOp.pm
lib/Data/Hopen/G/Goal.pm
lib/Data/Hopen/G/GraphBuilder.pm
lib/Data/Hopen/G/Link.pm
lib/Data/Hopen/G/Node.pm
lib/Data/Hopen/G/Op.pm
lib/Data/Hopen/G/Runnable.pm
lib/Data/Hopen/Scope.pm
lib/Data/Hopen/Scope/Environment.pm
lib/Data/Hopen/Scope/Hash.pm
lib/Data/Hopen/Scope/Inputs.pm
lib/Data/Hopen/Scope/Overrides.pm
lib/Data/Hopen/Tool.pm
lib/Data/Hopen/Toolchain.pm
lib/Data/Hopen/Util/Data.pm
lib/Data/Hopen/Util/Filename.pm
lib/Data/Hopen/Util/NameSet.pm
LICENSE.md
Makefile.PL
MANIFEST This list of files
Expand All @@ -60,13 +46,10 @@ t/011-scope-env.t
t/012-scope-nested.t
t/020-dag.t
t/021-dag-single-goal.t
t/200-apputil-basic.t
t/dir200/inner.hopen.pl
t/dir200/inner/.hopen.pl
t/dir200/inner/z.hopen.pl
t/lib/HopenTest.pm
t/samples/01/01.hopen.pl
t/samples/01/hello.c
xt/boilerplate.t
xt/manifest.t
xt/pod-coverage.t
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.SKIP
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
t/.*\.out$
lua$
TEMPLATE
Build-Hopen-*
Data-Hopen-*
TODO
\brunhopen$
\.stackdump$
Expand Down
23 changes: 13 additions & 10 deletions Makefile.PL
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!perl
# Makefile.PL for Build::Hopen
# Makefile.PL for Data::Hopen
use 5.014;
use strict;
use warnings;
use Config;
use ExtUtils::MakeMaker;
use File::Spec;

my $VERSION_FROM = File::Spec->catfile(qw(lib Build Hopen.pm));
my $VERSION_FROM = File::Spec->catfile(qw(lib Data Hopen.pm));
my $IS_TRIAL = check_trial();

# Check if this is a TRIAL version {{{1
Expand Down Expand Up @@ -102,11 +102,11 @@ authortest:
testhere: # Run the tests from lib rather than blib
\tprove -lj4
README.md: @{[$VERSION_FROM]} Makefile.PL
\t"$secure_perl_path" "$make_readme_md" -i "\$<" -o "\$@" -f md
README.md: @{[$VERSION_FROM]} Makefile.PL $make_readme_md
\t"$secure_perl_path" "$make_readme_md" -i "\$<" -o "\$@" -f md --appveyor cxw42/data-hopen --avbadge hopenbuild/data-hopen
README: @{[$VERSION_FROM]} Makefile.PL
\t"$secure_perl_path" "$make_readme_md" -i "\$<" -o "\$@" -f text
README: @{[$VERSION_FROM]} Makefile.PL $make_readme_md
\t"$secure_perl_path" "$make_readme_md" -i "\$<" -o "\$@" -f text --appveyor hopenbuild/Data-Hopen --avbadge hopenbuild/data-hopen
all :: README.md README
dist :: README.md README
Expand Down Expand Up @@ -137,7 +137,7 @@ EOT

# Main options for EUMM
my %opts = (
NAME => 'Build::Hopen',
NAME => 'Data::Hopen',
AUTHOR => q{Christopher White <[email protected]>},
VERSION_FROM => $VERSION_FROM,
ABSTRACT_FROM => $VERSION_FROM,
Expand Down Expand Up @@ -261,10 +261,13 @@ my %opts = (
'meta-spec' => { version => 2 },

resources => {
bugtracker => {
web => 'https://github.com/hopenbuild/Data-Hopen/issues',
},
repository => {
type => 'git',
url => 'https://github.com/cxw42/hopen.git',
web => 'https://github.com/cxw42/hopen',
url => 'https://github.com/hopenbuild/Data-Hopen.git',
web => 'https://github.com/hopenbuild/Data-Hopen',
},
},

Expand All @@ -282,7 +285,7 @@ my %opts = (
}, #META_MERGE

dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Build-Hopen-*' },
clean => { FILES => 'Data-Hopen-*' },
); # %opts

$opts{META_MERGE}->{release_status} = 'testing' if $IS_TRIAL;
Expand Down
14 changes: 7 additions & 7 deletions README
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAME
Build::Hopen - A build generator with first-class edges and explicit
Data::Hopen - A build generator with first-class edges and explicit
dependencies

hopen is a cross-platform software build generator. It makes files you
Expand All @@ -15,15 +15,15 @@ NAME
* Context-sensitivity. Your users can tweak their own builds for their
own platforms without affecting your project.

See Build::Hopen::Conventions for details of the input format.
See Data::Hopen::Conventions for details of the input format.

Why Perl? Because (1) you probably already have it installed, and (2) it
is the original write-once, run-everywhere language!

INSTALLATION
Easiest: install "cpanminus" if you don't have it - see
<https://metacpan.org/pod/App::cpanminus#INSTALLATION>. Then run "cpanm
Build::Hopen".
Data::Hopen".

Manually: clone or untar into a working directory. Then, in that
directory,
Expand All @@ -44,7 +44,7 @@ INSTALLATION
SUPPORT
You can find documentation for this module with the perldoc command.

perldoc Build::Hopen
perldoc Data::Hopen
perldoc hopen

You can also look for information at:
Expand All @@ -55,15 +55,15 @@ SUPPORT

* MetaCPAN

<https://metacpan.org/release/Build-Hopen>
<https://metacpan.org/release/Data-Hopen>

* AnnoCPAN: Annotated CPAN documentation

<http://annocpan.org/dist/Build-Hopen>
<http://annocpan.org/dist/Data-Hopen>

* CPAN Ratings

<https://cpanratings.perl.org/d/Build-Hopen>
<https://cpanratings.perl.org/d/Data-Hopen>

INSPIRED BY
* Luke <https://github.com/gvvaughan/luke>
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Build::Hopen - A build generator with first-class edges and explicit dependencies
# Data::Hopen - A build generator with first-class edges and explicit dependencies

[![Appveyor Badge](https://ci.appveyor.com/api/projects/status/github/cxw42/hopen?svg=true)](https://ci.appveyor.com/project/cxw42/hopen)
[![Appveyor Badge](https://ci.appveyor.com/api/projects/status/github/hopenbuild/data-hopen?svg=true)](https://ci.appveyor.com/project/cxw42/data-hopen)



Expand All @@ -14,7 +14,7 @@ build scripts (specifically, Perl 5.14+)
- Context-sensitivity. Your users can tweak their own builds for their own
platforms without affecting your project.

See [Build::Hopen::Conventions](https://metacpan.org/pod/release/CXW/Build-Hopen-0.000006-TRIAL/lib/Build/Hopen/Conventions.pod) for details of the input format.
See [Data::Hopen::Conventions](https://metacpan.org/pod/release/CXW/Build-Hopen-0.000006-TRIAL/lib/Build/Hopen/Conventions.pod) for details of the input format.

Why Perl? Because (1) you probably already have it installed, and
(2) it is the original write-once, run-everywhere language!
Expand All @@ -23,7 +23,7 @@ Why Perl? Because (1) you probably already have it installed, and

Easiest: install `cpanminus` if you don't have it - see
[https://metacpan.org/pod/App::cpanminus#INSTALLATION](https://metacpan.org/pod/App::cpanminus#INSTALLATION). Then run
`cpanm Build::Hopen`.
`cpanm Data::Hopen`.

Manually: clone or untar into a working directory. Then, in that directory,

Expand All @@ -44,7 +44,7 @@ no one else has reported the problem yet.

You can find documentation for this module with the perldoc command.

perldoc Build::Hopen
perldoc Data::Hopen
perldoc hopen

You can also look for information at:
Expand All @@ -55,15 +55,15 @@ You can also look for information at:

- MetaCPAN

[https://metacpan.org/release/Build-Hopen](https://metacpan.org/release/Build-Hopen)
[https://metacpan.org/release/Data-Hopen](https://metacpan.org/release/Data-Hopen)

- AnnoCPAN: Annotated CPAN documentation

[http://annocpan.org/dist/Build-Hopen](http://annocpan.org/dist/Build-Hopen)
[http://annocpan.org/dist/Data-Hopen](http://annocpan.org/dist/Data-Hopen)

- CPAN Ratings

[https://cpanratings.perl.org/d/Build-Hopen](https://cpanratings.perl.org/d/Build-Hopen)
[https://cpanratings.perl.org/d/Data-Hopen](https://cpanratings.perl.org/d/Data-Hopen)

# INSPIRED BY

Expand Down
4 changes: 2 additions & 2 deletions bin/hopen
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# Copyright (c) 2018 cxw42. All rights reserved. See LICENSE file.
# To run this manually from the source tree, do
# perl -Ilib bin/hopen
use Build::Hopen::App;
exit(Build::Hopen::App::Main(\@ARGV));
use Data::Hopen::App;
exit(Data::Hopen::App::Main(\@ARGV));
# vi: set ts=4 sts=4 sw=4 et ai ft=perl: #
Loading

0 comments on commit 2acfb34

Please sign in to comment.