about summary refs log tree commit diff
path: root/src/librustpkg/rustpkg.rs
AgeCommit message (Collapse)AuthorLines
2013-08-23removed os::set_args, closing #8325Do Nhat Minh-1/+4
removed pub on real_args, changed test to use args
2013-08-19rustpkg: Un-ignore most of the remaining testsTim Chevalier-12/+14
This necessitated some cleanup to how we parse library filenames when searching for libraries, since rustpkg may now create filenames that contain '-' characters. Also cleaned up how rustpkg passes the sysroot to a custom build script.
2013-08-13Remove unused automatic cfg bindings Fixes #7169Nick Desaulniers-1/+1
2013-08-10std: Rename Iterator.transform -> .mapErick Tryzelaar-1/+1
cc #5898
2013-08-09rustpkg: Simplify the PkgId structTim Chevalier-7/+6
Get rid of special cases for names beginning with "rust-" or containing hyphens, and just store a Path in a package ID. The Rust-identifier for the crate is none of rustpkg's business.
2013-08-09std/rustc/rustpkg/syntax: Support the `extern mod = ...` formTim Chevalier-43/+33
This commit allows you to write: extern mod x = "a/b/c"; which means rustc will search in the RUST_PATH for a package with ID a/b/c, and bind it to the name `x` if it's found. Incidentally, move get_relative_to from back::rpath into std::path
2013-08-05Updated std::Option, std::Either and std::ResultMarvin Löbel-2/+2
- Made naming schemes consistent between Option, Result and Either - Changed Options Add implementation to work like the maybe monad (return None if any of the inputs is None) - Removed duplicate Option::get and renamed all related functions to use the term `unwrap` instead
2013-08-03remove obsolete `foreach` keywordDaniel Micay-2/+2
this has been replaced by `for`
2013-08-03replace all remaining `for` with `foreach` or `do`Daniel Micay-9/+13
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-2/+2
2013-07-27rustc: reorganize driver, replace compile_upto with multiple more-obvious ↵Graydon Hoare-7/+4
functions.
2013-07-22Ast spanned<T> refactoring, renaming: crate, local, blk, crate_num, crate_cfg.Michael Woerister-2/+2
`crate => Crate` `local => Local` `blk => Block` `crate_num => CrateNum` `crate_cfg => CrateConfig` Also, Crate and Local are not wrapped in spanned<T> anymore.
2013-07-18rustpkg: Make rustpkg commands work without a package IDTim Chevalier-38/+52
`rustpkg build`, if executed in a package source directory inside a workspace, will now build that package. By "inside a workspace" I mean that the parent directory has to be called `src`, and rustpkg will create a `build` directory in .. if there isn't already one. Same goes for `rustpkg install` and `rustpkg clean`. For the time being, `rustpkg build` (etc.) will still error out if you run it inside a directory whose parent isn't called `src`. I'm not sure whether or not it's desirable to have it do something in a non-workspace directory.
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-9/+9
2013-07-15rustpkg: Handle local git repositoriesTim Chevalier-7/+32
rustpkg can now build code from a local git repository. In the case where the local repo is in a directory not in the RUST_PATH, it checks out the repository into a directory in the first workspace in the RUST_PATH. The tests no longer try to connect to github.com, which should solve some of the sporadic failures we've been seeing.
2013-07-13rustpkg: Implement `uninstall` and `list` commandsTim Chevalier-2/+25
2013-07-08Bump version numbers to 0.8-preBrian Anderson-1/+1
2013-07-01rustc: add a lint to enforce uppercase statics.Huon Wilson-3/+3
2013-06-30Bump version from 0.7-pre to 0.7Brian Anderson-1/+1
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-19/+10
2013-06-28librustc: Fix even *more* merge fallout!Patrick Walton-0/+1
2013-06-28librustc: Rewrite reachability and forbid duplicate methods in type ↵Patrick Walton-1/+14
implementations. This should allow fewer symbols to be exported.
2013-06-25rustpkg: Begin allowing package scripts to call the default build logicTim Chevalier-12/+19
rustpkg/api.rs provides functions intended for package scripts to call. It will probably need more functionality added to it later, but this is a start. Added a test case checking that a package script can use the API. Closes #6401
2013-06-25Rename all files with the 'rc' extensionAlex Crichton-0/+474